We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7b7a6b6 commit 196cfb9Copy full SHA for 196cfb9
src/utils.rs
@@ -102,7 +102,7 @@ pub fn report_failure_to_read_input_file(
102
/// encoding of a specific char where it has been cut.
103
#[must_use]
104
pub fn limited_string(orig: &[u8], limiter: usize) -> &[u8] {
105
- // TODO: Verify if we broke the enconding of the char
+ // TODO: Verify if we broke the encoding of the char
106
// when we cut it.
107
&orig[..orig.len().min(limiter)]
108
}
0 commit comments