mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-05 05:04:24 +00:00
Run rustfmt
This commit is contained in:
parent
9667cc2484
commit
ae18c6064a
@ -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…
Reference in New Issue
Block a user