diff --git a/src/liballoc/raw_vec.rs b/src/liballoc/raw_vec.rs index f1c5904afe6..cf025eee435 100644 --- a/src/liballoc/raw_vec.rs +++ b/src/liballoc/raw_vec.rs @@ -172,7 +172,7 @@ impl RawVec { /// # Undefined Behavior /// /// The `ptr` must be allocated (on the system heap), and with the given `capacity`. - /// 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). /// If the `ptr` and `capacity` come from a `RawVec`, then this is guaranteed. pub unsafe fn from_raw_parts(ptr: *mut T, capacity: usize) -> Self { RawVec {