mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-02 07:22:42 +00:00
Rollup merge of #114867 - ttsugriy:ttsugriy-patch-1, r=scottmcm
[nit] Fix a comment typo.
This commit is contained in:
commit
8201f0ffda
@ -612,7 +612,7 @@ pub unsafe fn from_boxed_utf8_unchecked(v: Box<[u8]>) -> Box<str> {
|
||||
}
|
||||
|
||||
/// Converts the bytes while the bytes are still ascii.
|
||||
/// For better average performance, this is happens in chunks of `2*size_of::<usize>()`.
|
||||
/// For better average performance, this happens in chunks of `2*size_of::<usize>()`.
|
||||
/// Returns a vec with the converted bytes.
|
||||
#[inline]
|
||||
#[cfg(not(test))]
|
||||
|
Loading…
Reference in New Issue
Block a user