You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Agreed. In any case, if Rust-analyzer outputs something different than rustfmt, then rustfmt wipes the difference anyway on the next fist pass. So maybe this is a feature to ask at rustfmt instead?
Current behavior if you ask analyzer to add uses for each type for you:
use std::num::{NonZeroU16, NonZeroU8, NonZeroU32, NonZeroU64};
This would be slightly nicer:
use std::num::{NonZeroU8, NonZeroU16, NonZeroU32, NonZeroU64};
The text was updated successfully, but these errors were encountered: