Move ToString to collections::string

This also impls `FormatWriter` for `Vec<u8>`
This commit is contained in:
Brendan Zabarauskas 2014-11-16 12:38:03 +11:00
parent 59abf75d9e
commit d82a7ea57a
11 changed files with 51 additions and 72 deletions

View file

@ -11,7 +11,7 @@
// aux-build:cci_class_cast.rs
extern crate cci_class_cast;
use std::to_string::ToString;
use std::string::ToString;
use cci_class_cast::kitty::cat;
fn print_out(thing: Box<ToString>, expected: String) {

View file

@ -11,7 +11,7 @@
extern crate collections;
use std::str::{SendStr, Owned, Slice};
use std::to_string::ToString;
use std::string::ToString;
use self::collections::TreeMap;
use std::option::Some;