pub fn new(config: Configuration) -> Self {
        Formatter {
            globals: Globals::new(),
            config,
        }
    }
/// Creates a new formatter with the specified configuration.
Creates a new formatter with the specified configuration.
Creates a new formatter with the specified configuration .
pub fn new(config: Configuration) -> Self {
        Formatter {
            globals: Globals::new(),
            config,
        }
    }
pub fn new ( config : Configuration ) -> Self { Formatter { globals : Globals :: new ( ) , config , } }
Creates a new formatter with the specified configuration.
Creates a new formatter with the specified configuration .
config
Configuration
config
Configuration