Function std::str::with_capacity
pub fn with_capacity(capacity: uint) -> ~str
Allocates a new string with the specified capacity. The string returned is the empty string, but has capacity for much more.
pub fn with_capacity(capacity: uint) -> ~str
Allocates a new string with the specified capacity. The string returned is the empty string, but has capacity for much more.
Prefix searches with a type followed by a colon (e.g.
fn:
) to restrict the search to a given type.
Accepted types are: fn
, mod
,
struct
(or str
), enum
,
trait
, typedef
(or
tdef
).