Skip to content

Commit 8d35ab3

Browse files
committed
rustdoc
1 parent 050115c commit 8d35ab3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/alloc/src/vec/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -664,7 +664,7 @@ impl<T, A: Allocator> Vec<T, A> {
664664
/// alignment, [`dealloc`] must be called with the same layout `size`.)
665665
/// * `length` needs to be less than or equal to `capacity`.
666666
/// * The first `length` values must be properly initialized values of type `T`.
667-
/// * `capacity` needs to [fit] the layout size that the pointer was allocated with.
667+
/// * `capacity` needs to [*fit*] the layout size that the pointer was allocated with.
668668
/// * The allocated size in bytes must be no larger than `isize::MAX`.
669669
/// See the safety documentation of [`pointer::offset`].
670670
///

0 commit comments

Comments
 (0)