Skip to content

Commit 2d94f0d

Browse files
committed
fix clippy
1 parent 680c02e commit 2d94f0d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

dsc_lib/src/parser/functions.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@ impl Function {
8888
}
8989

9090
/// Get the name of the function.
91+
#[must_use]
9192
pub fn name(&self) -> &str {
9293
&self.name
9394
}

0 commit comments

Comments
 (0)