Closed astralblue closed 6 months ago
Order imports into groups (IntelliJ and RustRover use this convention):
std::
crate::
super::
self::
Do not curly-brace group imports from separate modules.
Prefer crate imports to relative imports, per the Rust Book. The only exception is use super::* from test modules.
use super::*
Remove unused imports.
Avoid re-exports (pub use).
pub use
Order imports into groups (IntelliJ and RustRover use this convention):
std::
crate::
super::
/self::
)Do not curly-brace group imports from separate modules.
Prefer crate imports to relative imports, per the Rust Book. The only exception is
use super::*
from test modules.Remove unused imports.
Avoid re-exports (
pub use
).