Skip to content

Commit 757f154

Browse files
committed
chore: fix new clippy lint for string slices
1 parent 26b48a7 commit 757f154

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/format.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@ impl Buffers {
246246
}
247247

248248
indent_block(
249-
&mut self.current_buf,
249+
&self.current_buf,
250250
&mut self.indent_buf,
251251
indent % config.wraparound,
252252
config.indent_amount,
@@ -479,7 +479,7 @@ fn indent_block_with_lines(
479479
}
480480

481481
fn indent_block(
482-
block: &mut String,
482+
block: &str,
483483
buf: &mut String,
484484
mut indent: usize,
485485
indent_amount: usize,

0 commit comments

Comments
 (0)