Module rustfmt_nightly::config

source ·

Re-exports

Modules

  • file_lines 🔒
    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

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.