Skip to content

Commit c75707f

Browse files
Hendrik van Antwerpenaneubeck
andauthored
Fix typo
Co-authored-by: Alexander Neubeck <[email protected]>
1 parent 0ab3095 commit c75707f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/bpe/src/byte_pair_encoding.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -605,7 +605,7 @@ pub fn create_test_string(bpe: &BytePairEncoding, min_bytes: usize) -> String {
605605
.map_or(0, |(offset, _)| bytes.len() - (offset + 1));
606606
}
607607
}
608-
// truncate to the know valid bytes
608+
// truncate to the known valid bytes
609609
bytes.truncate(valid_bytes);
610610
String::from_utf8(bytes).expect("should be valid here")
611611
}

0 commit comments

Comments
 (0)