We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d41b791 commit 558ce91Copy full SHA for 558ce91
src/liballoc/vec.rs
@@ -221,7 +221,7 @@ use raw_vec::RawVec;
221
/// on an empty Vec, it will not allocate memory. Similarly, if you store zero-sized
222
/// types inside a `Vec`, it will not allocate space for them. *Note that in this case
223
/// the `Vec` may not report a [`capacity`] of 0*. `Vec` will allocate if and only
224
-/// if [`mem::size_of::<T>`]` * capacity() > 0`. In general, `Vec`'s allocation
+/// if [`mem::size_of::<T>`]`() * capacity() > 0`. In general, `Vec`'s allocation
225
/// details are subtle enough that it is strongly recommended that you only
226
/// free memory allocated by a `Vec` by creating a new `Vec` and dropping it.
227
///
0 commit comments