Fix typo.
This commit is contained in:
parent
2f581cf9d6
commit
bf95f9f185
1 changed files with 1 additions and 1 deletions
|
@ -114,7 +114,7 @@ impl<T, A: Alloc> RawVec<T, A> {
|
||||||
impl<T> RawVec<T, Heap> {
|
impl<T> RawVec<T, Heap> {
|
||||||
/// Creates the biggest possible RawVec (on the system heap)
|
/// Creates the biggest possible RawVec (on the system heap)
|
||||||
/// without allocating. If T has positive size, then this makes a
|
/// without allocating. If T has positive size, then this makes a
|
||||||
/// RawVec with capacity 0. If T has 0 size, then it it makes a
|
/// RawVec with capacity 0. If T has 0 size, then it makes a
|
||||||
/// RawVec with capacity `usize::MAX`. Useful for implementing
|
/// RawVec with capacity `usize::MAX`. Useful for implementing
|
||||||
/// delayed allocation.
|
/// delayed allocation.
|
||||||
pub fn new() -> Self {
|
pub fn new() -> Self {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue