libstd: Implement StrBuf
, a new string buffer type like Vec
, and
port all code over to use it.
This commit is contained in:
parent
7fbcb400f0
commit
d8e45ea7c0
66 changed files with 990 additions and 931 deletions
|
@ -7,6 +7,7 @@
|
|||
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
|
||||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
//! An owned, growable vector.
|
||||
|
||||
use cast::{forget, transmute};
|
||||
|
@ -28,7 +29,7 @@ use ptr;
|
|||
use rt::global_heap::{malloc_raw, realloc_raw};
|
||||
use raw::Slice;
|
||||
use slice::{ImmutableEqVector, ImmutableVector, Items, MutItems, MutableVector};
|
||||
use slice::{MutableTotalOrdVector, Vector};
|
||||
use slice::{MutableTotalOrdVector, OwnedVector, Vector};
|
||||
|
||||
/// An owned, growable vector.
|
||||
///
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue