mirror of
https://seed.radicle.dev/rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5.git
synced 2026-11-29 22:10:31 +08:00
clippy: Deny and fix must_use_candidate
This commit is contained in:
committed by
Lorenz Leutgeb
parent
2df32c0099
commit
53cb8da8ff
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user