Skip to content

Commit 9dd07f0

Browse files
committed
should_implement_trait
1 parent 159b4c9 commit 9dd07f0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

crates/hir-ty/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -414,6 +414,7 @@ impl Hash for FnAbi {
414414
}
415415

416416
impl FnAbi {
417+
#[allow(clippy::should_implement_trait)]
417418
pub fn from_str(s: &str) -> FnAbi {
418419
match s {
419420
"aapcs-unwind" => FnAbi::AapcsUnwind,

0 commit comments

Comments
 (0)