Skip to content

Commit 3db6804

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

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -282,10 +282,9 @@ 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;
286285
} else {
287286
out_buffer.push(0);
288-
return len;
287+
len
289288
}
290289
}
291290

0 commit comments

Comments
 (0)