]> git.lizzy.rs Git - rust.git/blobdiff - src/checkstyle.rs
Merge pull request #2138 from topecongiro/comments-around-trait-bounds
[rust.git] / src / checkstyle.rs
index 90ba45610246db48d4742a5783aa6f54043868f6..0934ed3f71920f91542a0507ecd9bad0d484d61d 100644 (file)
@@ -7,10 +7,11 @@
 // <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
-use rustfmt_diff::{Mismatch, DiffLine};
+
 use std::io::{self, Write};
-use config::WriteMode;
 
+use config::WriteMode;
+use rustfmt_diff::{DiffLine, Mismatch};
 
 pub fn output_header<T>(out: &mut T, mode: WriteMode) -> Result<(), io::Error>
 where
@@ -55,7 +56,7 @@ pub fn output_checkstyle_file<T>(
                 write!(
                     writer,
                     "<error line=\"{}\" severity=\"warning\" message=\"Should be `{}`\" \
-                             />",
+                     />",
                     mismatch.line_number,
                     message
                 )?;