mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-01 11:31:15 +00:00
should_implement_trait
This commit is contained in:
parent
159b4c9fe9
commit
9dd07f0bc4
@ -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…
x
Reference in New Issue
Block a user