mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-05 05:04:24 +00:00
Cargo fmt
This commit is contained in:
parent
aeb33986b1
commit
026c716168
@ -136,8 +136,7 @@ pub fn rewrite_chain(expr: &ast::Expr, context: &RewriteContext, shape: Shape) -
|
||||
};
|
||||
debug!(
|
||||
"child_shapes {:?} {:?}",
|
||||
first_child_shape,
|
||||
other_child_shape
|
||||
first_child_shape, other_child_shape
|
||||
);
|
||||
|
||||
let child_shape_iter = Some(first_child_shape)
|
||||
|
@ -48,9 +48,7 @@ impl Rewrite for ast::Local {
|
||||
fn rewrite(&self, context: &RewriteContext, shape: Shape) -> Option<String> {
|
||||
debug!(
|
||||
"Local::rewrite {:?} {} {:?}",
|
||||
self,
|
||||
shape.width,
|
||||
shape.indent
|
||||
self, shape.width, shape.indent
|
||||
);
|
||||
|
||||
skip_out_of_file_lines_range!(context, self.span);
|
||||
@ -1840,9 +1838,7 @@ fn rewrite_fn_base(
|
||||
|
||||
debug!(
|
||||
"rewrite_fn_base: one_line_budget: {}, multi_line_budget: {}, arg_indent: {:?}",
|
||||
one_line_budget,
|
||||
multi_line_budget,
|
||||
arg_indent
|
||||
one_line_budget, multi_line_budget, arg_indent
|
||||
);
|
||||
|
||||
// Check if vertical layout was forced.
|
||||
|
Loading…
Reference in New Issue
Block a user