Skip to content

Commit 9d9785b

Browse files
committed
gencat: Fix clippy::needless_range_loop
1 parent a00830a commit 9d9785b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

i18n/gencat.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -553,6 +553,7 @@ impl MessageCatalog {
553553
}
554554

555555
/// Read the **GNU based** binary catalog file and build [MessageCatalog]
556+
#[allow(clippy::needless_range_loop)]
556557
pub fn read_catfile<T: Read>(
557558
mut input: T,
558559
) -> Result<MessageCatalog, Box<dyn std::error::Error>> {
@@ -590,7 +591,7 @@ impl MessageCatalog {
590591
ptr += 4;
591592
}
592593

593-
// note: probably compare be_array and le_array as they should be the same
594+
// TODO: probably compare be_array and le_array as they should be the same
594595

595596
let string_pool = &buf[ptr..];
596597

0 commit comments

Comments
 (0)