Skip to content

Commit 6758893

Browse files
committed
---
yaml --- r: 195261 b: refs/heads/tmp c: 3c0c8fc h: refs/heads/master i: 195259: ca3158a v: v3
1 parent 7f80a4a commit 6758893

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
@@ -34,7 +34,7 @@ refs/heads/building: 126db549b038c84269a1e4fe46f051b2c15d6970
3434
refs/heads/beta: d8be84eb4499e21bd98a3500c8760540996df23b
3535
refs/heads/windistfix: 7608dbad651f02e837ed05eef3d74a6662a6e928
3636
refs/tags/1.0.0-alpha: e42bd6d93a1d3433c486200587f8f9e12590a4d7
37-
refs/heads/tmp: 842e6cf63e632473b335cffeeaeb305c45d546fa
37+
refs/heads/tmp: 3c0c8fc43a6dddda37c9e833279e0f8859a05f1c
3838
refs/tags/1.0.0-alpha.2: 4c705f6bc559886632d3871b04f58aab093bfa2f
3939
refs/tags/homu-tmp: 53a183f0274316596bf9405944d4f0468d8c93e4
4040
refs/heads/gate: 97c84447b65164731087ea82685580cc81424412

branches/tmp/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)