Run rustfmt

This commit is contained in:
Oliver Schneider 2017-11-30 15:04:19 +01:00
parent 9667cc2484
commit ae18c6064a
2 changed files with 5 additions and 2 deletions

View File

@ -30,7 +30,11 @@ pub fn append_newline(s: &mut StringBuffer) {
s.push_str("\n");
}
pub fn write_all_files<T>(file_map: &[FileRecord], out: &mut T, config: &Config) -> Result<(), io::Error>
pub fn write_all_files<T>(
file_map: &[FileRecord],
out: &mut T,
config: &Config,
) -> Result<(), io::Error>
where
T: Write,
{

View File

@ -2462,7 +2462,6 @@ fn rewrite_trait_bounds(
bounds: &[ast::TyParamBound],
shape: Shape,
) -> Option<String> {
if bounds.is_empty() {
return Some(String::new());
}