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
I'm not sure if rustfmt has option to group the use statements, i think that would make it more readable. For now, if one forget add a blank line between use std::... and use crate::..., rustfmt will sort them by ASCII I suppose.
Besides, rust-analyzer auto import will add use statements in std > third-party > current crate order, with blank lines among them.
The text was updated successfully, but these errors were encountered:
📋 Description
See: https://users.rust-lang.org/t/use-declaration-convention/45251
I'm not sure if rustfmt has option to group the use statements, i think that would make it more readable. For now, if one forget add a blank line between
use std::...
anduse crate::...
, rustfmt will sort them by ASCII I suppose.Besides, rust-analyzer auto import will add use statements in
std > third-party > current crate
order, with blank lines among them.The text was updated successfully, but these errors were encountered: