mirror of
https://github.com/rust-lang/rust-analyzer
synced 2025-01-14 22:24:14 +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 {
|
impl FnAbi {
|
||||||
|
#[allow(clippy::should_implement_trait)]
|
||||||
pub fn from_str(s: &str) -> FnAbi {
|
pub fn from_str(s: &str) -> FnAbi {
|
||||||
match s {
|
match s {
|
||||||
"aapcs-unwind" => FnAbi::AapcsUnwind,
|
"aapcs-unwind" => FnAbi::AapcsUnwind,
|
||||||
|
|
Loading…
Reference in a new issue