pub enum Suggestion {
None,
UsePositional,
RemoveRawIdent(InnerSpan),
}
Variants§
None
UsePositional
Replace inline argument with positional argument:
format!("{foo.bar}")
-> format!("{}", foo.bar)
RemoveRawIdent(InnerSpan)
Remove r#
from identifier:
format!("{r#foo}")
-> format!("{foo}")
Auto Trait Implementations§
impl Freeze for Suggestion
impl RefUnwindSafe for Suggestion
impl Send for Suggestion
impl Sync for Suggestion
impl Unpin for Suggestion
impl UnwindSafe for Suggestion
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