Skip to content

Commit d2885d9

Browse files
committed
---
yaml --- r: 170485 b: refs/heads/try c: f0976e2 h: refs/heads/master i: 170483: 7183dbd v: v3
1 parent c692009 commit d2885d9

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
refs/heads/master: 73a25f55ad748b4d3516417c711b99ce446591af
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: 5b3cd3900ceda838f5798c30ab96ceb41f962534
5-
refs/heads/try: c8c039151963e29b92978444f2dc6590dd173ece
5+
refs/heads/try: f0976e2cf3f6b0027f118b791e0888b29fbb41a7
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/dist-snap: ba4081a5a8573875fed17545846f6f6902c8ba8d
88
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596

branches/try/src/liballoc/rc.rs

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -722,11 +722,7 @@ impl<T> Clone for Weak<T> {
722722
#[experimental = "Show is experimental."]
723723
impl<T: fmt::Show> fmt::Show for Weak<T> {
724724
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
725-
if self.strong() == 0 {
726-
write!(f, "NULL")
727-
} else {
728-
(*self._ptr).fmt(f)
729-
}
725+
write!(f, "(Weak)")
730726
}
731727
}
732728

0 commit comments

Comments
 (0)