Karma3Labs / rs-eigentrust

EigenTrust implementation in Rust
8 stars 4 forks source link

Organize imports so that cargo fmt can lint them better #35

Closed astralblue closed 6 months ago

astralblue commented 6 months ago

Order imports into groups (IntelliJ and RustRover use this convention):

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).