nightly clippy fixes

This commit is contained in:
2024-11-22 00:14:51 -07:00
parent f0af954c23
commit a8bc312dd9
4 changed files with 5 additions and 6 deletions

View File

@@ -91,7 +91,7 @@ fn main() {
for (entry, name) in &mut entries {
entry.string_table_offset = string_table_offset;
out.write_all(entry.as_bytes()).unwrap();
string_table_offset += name.as_bytes().len() as u32 + 4;
string_table_offset += name.len() as u32 + 4;
}
// Write string table