Fix even more clippy warnings
This commit is contained in:
parent
bfecb18771
commit
57c6ed0c07
53 changed files with 276 additions and 520 deletions
|
@ -478,10 +478,7 @@ pub enum InlineAsmType {
|
|||
|
||||
impl InlineAsmType {
|
||||
pub fn is_integer(self) -> bool {
|
||||
match self {
|
||||
Self::I8 | Self::I16 | Self::I32 | Self::I64 | Self::I128 => true,
|
||||
_ => false,
|
||||
}
|
||||
matches!(self, Self::I8 | Self::I16 | Self::I32 | Self::I64 | Self::I128)
|
||||
}
|
||||
|
||||
pub fn size(self) -> Size {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue