clippy: Deny and fix must_use_candidate

This commit is contained in:
Adrian Duke
2026-01-16 22:52:53 +01:00
committed by Lorenz Leutgeb
parent 2df32c0099
commit 53cb8da8ff
13 changed files with 54 additions and 0 deletions
+1
View File
@@ -43,6 +43,7 @@ pub struct Rev(String);
impl Rev {
/// Return the revision as a string.
#[must_use]
pub fn as_str(&self) -> &str {
&self.0
}