should_implement_trait
This commit is contained in:
parent
159b4c9fe9
commit
9dd07f0bc4
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user