# Style guide
## Rust style guide
- Don't use fully-qualified names, instead import items at the top.
- Don't use glob imports.
- Sort imports in order: std, extern crates, own crate's items.
Don't use relative imports or `super` except in test modules.
Group all imports within a common path (`use std::fmt::{self, Display}` instead of `use std::fmt; use std::fmt::Display;`).
- Name errors as `err` or explicit names in case of name collisions.
Don't use `e` shorthand.