Reviewer change
This commit is contained in:
parent
c8c0391519
commit
f0976e2cf3
@ -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)")
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user