pub enum Spelling {
Canonical,
Deprecated,
}Expand description
Whether a directive is written the canonical way or in one of the spellings the linter shipped with.
Variants§
Canonical
# arity-lint skip <rule>: why and friends.
Deprecated
# arity-ignore <rule>: why / # arity-ignore-file <rule>: why.
Honored exactly like the canonical form; only a rule that rewrites them
should care about the difference.
Trait Implementations§
impl Copy for Spelling
impl Eq for Spelling
impl StructuralPartialEq for Spelling
Auto Trait Implementations§
impl Freeze for Spelling
impl RefUnwindSafe for Spelling
impl Send for Spelling
impl Sync for Spelling
impl Unpin for Spelling
impl UnsafeUnpin for Spelling
impl UnwindSafe for Spelling
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more