more clippy lints

This commit is contained in:
Skgland
2021-02-06 19:53:53 +01:00
parent 1571690bbb
commit 1eb9fcf521
2 changed files with 4 additions and 7 deletions

View File

@@ -698,7 +698,7 @@ impl ClauseName {
impl AsRef<str> for ClauseName {
#[inline]
fn as_ref(self: &Self) -> &str {
fn as_ref(&self) -> &str {
self.as_str()
}
}