We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 26b48a7 commit 757f154Copy full SHA for 757f154
src/format.rs
@@ -246,7 +246,7 @@ impl Buffers {
246
}
247
248
indent_block(
249
- &mut self.current_buf,
+ &self.current_buf,
250
&mut self.indent_buf,
251
indent % config.wraparound,
252
config.indent_amount,
@@ -479,7 +479,7 @@ fn indent_block_with_lines(
479
480
481
fn indent_block(
482
- block: &mut String,
+ block: &str,
483
buf: &mut String,
484
mut indent: usize,
485
indent_amount: usize,
0 commit comments