pub fn rustfmt<T: ToString>(input: T) -> Result<String, Error> {
    // The only rustfmt default we override is edition = 2018 (vs 2015)
    let config = config::Config {
        edition: Some(config::Edition::Edition2018),
        ..Default::default()
    };
    rustfmt_config(config, input)
}
/// Use the `rustfmt` command to format the input.
Use the `rustfmt` command to format the input.
Use the ` rustfmt ` command to format the input .
pub fn rustfmt<T: ToString>(input: T) -> Result<String, Error> {
    // The only rustfmt default we override is edition = 2018 (vs 2015)
    let config = config::Config {
        edition: Some(config::Edition::Edition2018),
        ..Default::default()
    };
    rustfmt_config(config, input)
}
pub fn rustfmt < T : ToString > ( input : T ) -> Result < String , Error > { // The only rustfmt default we override is edition = 2018 (vs 2015) let config = config :: Config { edition : Some ( config :: Edition :: Edition2018 ) , .. Default :: default ( ) } ; rustfmt_config ( config , input ) }
Use the `rustfmt` command to format the input.
Use the ` rustfmt ` command to format the input .
input
T
input
T