diff options
| author | Tim Diekmann <tim.diekmann@3dvision.de> | 2020-03-25 18:39:52 +0100 |
|---|---|---|
| committer | Tim Diekmann <tim.diekmann@3dvision.de> | 2020-03-26 17:12:35 +0100 |
| commit | 42a8547038bde637d050b1b2688c540b04baed9e (patch) | |
| tree | 697409a8b0de112e7687022537512124e428cbc9 /src/liballoc | |
| parent | c1fa02331ad60e73569f8351401f183089ff89bf (diff) | |
| download | rust-42a8547038bde637d050b1b2688c540b04baed9e.tar.gz rust-42a8547038bde637d050b1b2688c540b04baed9e.zip | |
Fix comment in `RawVec::into_box()`
Diffstat (limited to 'src/liballoc')
| -rw-r--r-- | src/liballoc/raw_vec.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/liballoc/raw_vec.rs b/src/liballoc/raw_vec.rs index a51d30448d1..f1b96c9dd9d 100644 --- a/src/liballoc/raw_vec.rs +++ b/src/liballoc/raw_vec.rs @@ -568,7 +568,7 @@ impl<T, A: AllocRef> RawVec<T, A> { } impl<T> RawVec<T, Global> { - /// Converts the entire buffer into `Box<[T]>` with the specified `len`. + /// Converts the entire buffer into `Box<[MaybeUninit<T>]>` with the specified `len`. /// /// Note that this will correctly reconstitute any `cap` changes /// that may have been performed. (See description of type for details.) |
