pub struct LintExample {
pub title: String,
pub bad: String,
pub good: String,
}Expand description
An example of a lint rule firing (good/bad pair).
Fields§
§title: String§bad: String§good: StringAuto Trait Implementations§
impl Freeze for LintExample
impl RefUnwindSafe for LintExample
impl Send for LintExample
impl Sync for LintExample
impl Unpin for LintExample
impl UnsafeUnpin for LintExample
impl UnwindSafe for LintExample
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