1
Fork 0

rollup merge of #20722: alexcrichton/audit-show

Conflicts:
	src/libcollections/vec.rs
	src/libcore/fmt/mod.rs
	src/librustdoc/html/format.rs
This commit is contained in:
Alex Crichton 2015-01-07 17:18:59 -08:00
commit a204dc56c9
22 changed files with 76 additions and 78 deletions

View file

@ -584,6 +584,13 @@ impl<T: fmt::Show> fmt::Show for Arc<T> {
}
}
#[stable]
impl<T: fmt::String> fmt::String for Arc<T> {
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
fmt::String::fmt(&**self, f)
}
}
#[stable]
impl<T: Default + Sync + Send> Default for Arc<T> {
#[stable]