Skip to content

Commit dd0961b

Browse files
committed
Clippy fix
1 parent 9108af2 commit dd0961b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

mistralrs-core/src/gguf/gguf_tokenizer.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,7 @@ pub fn convert_gguf_to_hf_tokenizer<R: std::io::Seek + std::io::Read>(
100100

101101
//token type other than 1 treated as special token
102102
let mut num_special_tokens = 0;
103+
#[allow(clippy::needless_range_loop)]
103104
if token_types.len() == props.tokens.len() {
104105
for i in 0..props.tokens.len() {
105106
if token_types[i] != 1i32 {

0 commit comments

Comments
 (0)