Run rustfmt
This commit is contained in:
parent
9667cc2484
commit
ae18c6064a
2 changed files with 5 additions and 2 deletions
|
|
@ -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,
|
||||
{
|
||||
|
|
|
|||
|
|
@ -2462,7 +2462,6 @@ fn rewrite_trait_bounds(
|
|||
bounds: &[ast::TyParamBound],
|
||||
shape: Shape,
|
||||
) -> Option<String> {
|
||||
|
||||
if bounds.is_empty() {
|
||||
return Some(String::new());
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue