We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b0006df commit 58a26c8Copy full SHA for 58a26c8
src/liballoc/raw_vec.rs
@@ -172,7 +172,7 @@ impl<T> RawVec<T, Global> {
172
/// # Undefined Behavior
173
///
174
/// The `ptr` must be allocated (on the system heap), and with the given `capacity`.
175
- /// Th `capacity` cannot exceed `isize::MAX` (only a concern on 32-bit systems).
+ /// The `capacity` cannot exceed `isize::MAX` (only a concern on 32-bit systems).
176
/// If the `ptr` and `capacity` come from a `RawVec`, then this is guaranteed.
177
pub unsafe fn from_raw_parts(ptr: *mut T, capacity: usize) -> Self {
178
RawVec {
0 commit comments