mirror of
https://github.com/rust-lang/rust-analyzer
synced 2025-01-13 21:54:42 +00:00
should_implement_trait
This commit is contained in:
parent
159b4c9fe9
commit
9dd07f0bc4
1 changed files with 1 additions and 0 deletions
|
@ -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…
Reference in a new issue