Skip to content

Commit 8201f0f

Browse files
authored
Rollup merge of #114867 - ttsugriy:ttsugriy-patch-1, r=scottmcm
[nit] Fix a comment typo.
2 parents 6f27032 + 785ebd9 commit 8201f0f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/alloc/src/str.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -612,7 +612,7 @@ pub unsafe fn from_boxed_utf8_unchecked(v: Box<[u8]>) -> Box<str> {
612612
}
613613

614614
/// Converts the bytes while the bytes are still ascii.
615-
/// For better average performance, this is happens in chunks of `2*size_of::<usize>()`.
615+
/// For better average performance, this happens in chunks of `2*size_of::<usize>()`.
616616
/// Returns a vec with the converted bytes.
617617
#[inline]
618618
#[cfg(not(test))]

0 commit comments

Comments
 (0)