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::lists::*;
pub use crate::config::options::*;

Modules

file_lines 🔒
This module contains types and functions to support formatting specific line ranges.
lists 🔒
Configuration options related to rewriting a list.
options 🔒

Macros

try 🔒
try 🔒

Structs

Enums

__Field 🔒

Constants

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 None if no project file was found.