Skip to content

Commit a0c4fb5

Browse files
committed
chore: fix clippy errors
1 parent 07fcb4f commit a0c4fb5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/rust/lib_ccxr/src/encoder/txt_helpers.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -282,10 +282,10 @@ pub fn get_str_basic(
282282
info!("WARNING: Encoding is not yet supported\n");
283283
out_buffer.clear();
284284
out_buffer.push(0);
285-
return 0;
285+
0
286286
} else {
287287
out_buffer.push(0);
288-
return len;
288+
len
289289
}
290290
}
291291

0 commit comments

Comments
 (0)