Skip to content

Add .rustfmt to unify styling #18

Description

@3Hren

The only problem I discovered is line breaking. I really hate when rustfmt does the following change:

pub fn long_function<T, E>(&mut self, arg1: Arg1, arg2: Arg2, arg3: T) -> Result<T, E>
where
    T: Display,
    E: Error
{
   unimplemented!()
}
pub fn long_function<T, E>(&mut self, 
                           arg1: Arg1, 
                           arg2: Arg2, 
                           arg3: T) 
    -> Result<T, E>
where
    T: Display,
    E: Error
{
   unimplemented!()
}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions