File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -359,8 +359,8 @@ impl DiscriminantUnion {
359359/// 1. Only used on 64-bit little-endian platforms. (checked at compile-time via _INVARIANTS_CHECK)
360360/// 2. The data pointers for `String` and `&'static str` can't ever be null when the strings are non-empty.
361361/// 3. Allocations can never be larger than `isize::MAX` (see [here][rust_isize_alloc_limit]), meaning that any
362- /// length/capacity field for a string can't ever be larger than `isize::MAX`, implying the sixty-fourth bit (top-most bit)
363- /// for length/capacity should always be 0.
362+ /// length/capacity field for a string can't ever be larger than `isize::MAX`, implying the highest bit for
363+ /// length/capacity should always be 0.
364364/// 4. An inlined string can only hold up to 23 bytes of data, meaning that the length byte for that string can never
365365/// have a value greater than 23. (_We_ have to provide this invariant, which is handled in `Inner::try_inlined`.)
366366///
You can’t perform that action at this time.
0 commit comments