Module rustfmt_nightly::config
source · Re-exports
pub use crate::config::file_lines::FileLines;pub use crate::config::file_lines::FileName;pub use crate::config::file_lines::Range;pub use crate::config::macro_names::MacroSelector;pub use crate::config::macro_names::MacroSelectors;pub use crate::config::lists::*;pub use crate::config::options::*;
Modules
- This module contains types and functions to support formatting specific line ranges.
- lists 🔒Configuration options related to rewriting a list.
- This module contains types and functions to support formatting specific macros.
- options 🔒
Structs
Enums
- __Field 🔒
Constants
- FIELDS 🔒
Functions
- Loads a config by checking the client-supplied options and if appropriate, the file system (including searching the file system for overrides).
- Try to find a project file in the given directory and its parents. Returns the path of a the nearest project file if one exists, or
Noneif no project file was found.