Skip to content

Commit 6a03dd2

Browse files
committed
---
yaml --- r: 195112 b: refs/heads/beta c: 3c0c8fc h: refs/heads/master v: v3
1 parent f1fcf58 commit 6a03dd2

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ refs/heads/automation-fail: 1bf06495443584539b958873e04cc2f864ab10e4
3131
refs/heads/issue-18208-method-dispatch-3-quick-reject: 2009f85b9f99dedcec4404418eda9ddba90258a2
3232
refs/heads/batch: b7fd822592a4fb577552d93010c4a4e14f314346
3333
refs/heads/building: 126db549b038c84269a1e4fe46f051b2c15d6970
34-
refs/heads/beta: 842e6cf63e632473b335cffeeaeb305c45d546fa
34+
refs/heads/beta: 3c0c8fc43a6dddda37c9e833279e0f8859a05f1c
3535
refs/heads/windistfix: 7608dbad651f02e837ed05eef3d74a6662a6e928
3636
refs/tags/1.0.0-alpha: e42bd6d93a1d3433c486200587f8f9e12590a4d7
3737
refs/heads/tmp: be7f6ac7008f8ddf980ac07026b05bdd865f29cc

branches/beta/src/libcore/fmt/mod.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -696,7 +696,7 @@ impl<'a> Formatter<'a> {
696696
/// }
697697
/// }
698698
///
699-
/// // prints "Foo { 10, 11 }"
699+
/// // prints "[10, 11]"
700700
/// println!("{:?}", Foo(vec![10, 11]));
701701
/// ```
702702
#[unstable(feature = "debug_builders", reason = "method was just created")]
@@ -722,7 +722,7 @@ impl<'a> Formatter<'a> {
722722
/// }
723723
/// }
724724
///
725-
/// // prints "Foo { 10, 11 }"
725+
/// // prints "{10, 11}"
726726
/// println!("{:?}", Foo(vec![10, 11]));
727727
/// ```
728728
#[unstable(feature = "debug_builders", reason = "method was just created")]
@@ -744,11 +744,11 @@ impl<'a> Formatter<'a> {
744744
///
745745
/// impl fmt::Debug for Foo {
746746
/// fn fmt(&self, fmt: &mut fmt::Formatter) -> fmt::Result {
747-
/// self.0.iter().fold(fmt.debug_map(), |b, (k, v)| b.entry(k, v)).finish()
747+
/// self.0.iter().fold(fmt.debug_map(), |b, &(ref k, ref v)| b.entry(k, v)).finish()
748748
/// }
749749
/// }
750750
///
751-
/// // prints "Foo { "A": 10, "B": 11 }"
751+
/// // prints "{"A": 10, "B": 11}"
752752
/// println!("{:?}", Foo(vec![("A".to_string(), 10), ("B".to_string(), 11)]));
753753
/// ```
754754
#[unstable(feature = "debug_builders", reason = "method was just created")]

0 commit comments

Comments
 (0)