about summary refs log tree commit diff
path: root/src/libstd/bitflags.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2014-05-15 23:26:26 -0700
committerbors <bors@rust-lang.org>2014-05-15 23:26:26 -0700
commitb545a499fad8d58f858e7c14bcdc90171b97efdf (patch)
treee4bebf36fa24fe0fe4dd6846291c59520ef1be28 /src/libstd/bitflags.rs
parent84406d438c6c49aa63875096e5f3cca1a3879f17 (diff)
parent2e2160b026d7a2b2d13c3a2b4d6aa073ab3ff43f (diff)
downloadrust-b545a499fad8d58f858e7c14bcdc90171b97efdf.tar.gz
rust-b545a499fad8d58f858e7c14bcdc90171b97efdf.zip
auto merge of #14115 : alexcrichton/rust/core-fmt, r=brson
This was a more difficult change than I thought it would be, and it is unfortunately a breaking change rather than a drop-in replacement. Most of the rationale can be found in the third commit.

cc #13851
Diffstat (limited to 'src/libstd/bitflags.rs')
-rw-r--r--src/libstd/bitflags.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/bitflags.rs b/src/libstd/bitflags.rs
index 163ccd22552..6b393987281 100644
--- a/src/libstd/bitflags.rs
+++ b/src/libstd/bitflags.rs
@@ -59,7 +59,7 @@
 //!
 //! impl fmt::Show for Flags {
 //!     fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
-//!         write!(f.buf, "hi!")
+//!         write!(f, "hi!")
 //!     }
 //! }
 //!