Skip to content

Commit 196cfb9

Browse files
sami-danielCopilot
andauthored
Update src/utils.rs
English typos Co-authored-by: Copilot <[email protected]>
1 parent 7b7a6b6 commit 196cfb9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/utils.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ pub fn report_failure_to_read_input_file(
102102
/// encoding of a specific char where it has been cut.
103103
#[must_use]
104104
pub fn limited_string(orig: &[u8], limiter: usize) -> &[u8] {
105-
// TODO: Verify if we broke the enconding of the char
105+
// TODO: Verify if we broke the encoding of the char
106106
// when we cut it.
107107
&orig[..orig.len().min(limiter)]
108108
}

0 commit comments

Comments
 (0)