pub struct UnusedMutFixGenerator;
Expand description
Generates fixes for unused mut keywords
Implementations§
Trait Implementations§
Source§impl FixGenerator for UnusedMutFixGenerator
impl FixGenerator for UnusedMutFixGenerator
Source§fn generate_fix(
&self,
_error: &DecrustError,
_params: &ExtractedParameters,
source_code_context: Option<&str>,
) -> Option<Autocorrection>
fn generate_fix( &self, _error: &DecrustError, _params: &ExtractedParameters, source_code_context: Option<&str>, ) -> Option<Autocorrection>
Generates a fix for an error using extracted parameters
Auto Trait Implementations§
impl Freeze for UnusedMutFixGenerator
impl RefUnwindSafe for UnusedMutFixGenerator
impl Send for UnusedMutFixGenerator
impl Sync for UnusedMutFixGenerator
impl Unpin for UnusedMutFixGenerator
impl UnwindSafe for UnusedMutFixGenerator
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