Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'crates/ide_assists/src/tests/generated.rs')
| -rw-r--r-- | crates/ide_assists/src/tests/generated.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/crates/ide_assists/src/tests/generated.rs b/crates/ide_assists/src/tests/generated.rs index 485b807d05..72aeadd4ac 100644 --- a/crates/ide_assists/src/tests/generated.rs +++ b/crates/ide_assists/src/tests/generated.rs @@ -1036,6 +1036,7 @@ struct Person { impl Person { /// Get a reference to the person's name. + #[must_use] fn $0name(&self) -> &str { self.name.as_ref() } @@ -1060,6 +1061,7 @@ struct Person { impl Person { /// Get a mutable reference to the person's name. + #[must_use] fn $0name_mut(&mut self) -> &mut String { &mut self.name } |