Skip to content

Commit e9b8392

Browse files
committed
avoid warning about unused labels
1 parent a47c9b7 commit e9b8392

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/scanner.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ pub fn scan<'a>(
158158
let mut is_last_window = false;
159159

160160
// iterate over `input_buffer with ``decoder_input_window`-sized slices.
161-
'input_window_loop: while decoder_input_start < input_buffer.len() {
161+
'_input_window_loop: while decoder_input_start < input_buffer.len() {
162162
decoder_input_end = match decoder_input_start + decoder_input_window {
163163
n if n < input_buffer.len() => n, // There are at least one byte more left in `input_buffer`.
164164
_ => {
@@ -279,7 +279,7 @@ pub fn scan<'a>(
279279
// Now we split `split_str_buffer` into substrings and store them in
280280
// vector `fc.v`.
281281

282-
'chunk_loop: for chunk in SplitStr::new(
282+
'_chunk_loop: for chunk in SplitStr::new(
283283
split_str_buffer,
284284
ss.mission.chars_min_nb,
285285
continue_str_if_possible,

0 commit comments

Comments
 (0)