Skip to content

Commit

Permalink
should_implement_trait
Browse files Browse the repository at this point in the history
  • Loading branch information
Urhengulas committed Jan 19, 2024
1 parent 159b4c9 commit 9dd07f0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions crates/hir-ty/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -414,6 +414,7 @@ impl Hash for FnAbi {
}

impl FnAbi {
#[allow(clippy::should_implement_trait)]
pub fn from_str(s: &str) -> FnAbi {
match s {
"aapcs-unwind" => FnAbi::AapcsUnwind,
Expand Down

0 comments on commit 9dd07f0

Please sign in to comment.