Reviewer change

This commit is contained in:
Nick Cameron 2015-01-01 18:00:32 +13:00
parent c8c0391519
commit f0976e2cf3

View File

@ -722,11 +722,7 @@ impl<T> Clone for Weak<T> {
#[experimental = "Show is experimental."]
impl<T: fmt::Show> fmt::Show for Weak<T> {
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
if self.strong() == 0 {
write!(f, "NULL")
} else {
(*self._ptr).fmt(f)
}
write!(f, "(Weak)")
}
}