Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions src/libcore/fmt/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ use ops::Deref;
use result;
use slice;
use str;
use self::rt::v1::Alignment;

#[unstable(feature = "fmt_radix", issue = "27728")]
#[rustc_deprecated(since = "1.7.0", reason = "not used enough to stabilize")]
Expand All @@ -38,6 +37,9 @@ pub use self::num::Radix;
pub use self::num::RadixFmt;
#[stable(feature = "debug_builders", since = "1.2.0")]
pub use self::builders::{DebugStruct, DebugTuple, DebugSet, DebugList, DebugMap};
#[unstable(feature = "fmt_flags_align", reason = "method was just created",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reason probably shouldn't mention method :P

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You are right.

issue = "27726")]
pub use self::rt::v1::Alignment;

mod num;
mod builders;
Expand Down Expand Up @@ -156,7 +158,7 @@ impl<'a, W: Write + ?Sized> Write for &'a mut W {
pub struct Formatter<'a> {
flags: u32,
fill: char,
align: rt::v1::Alignment,
align: Alignment,
width: Option<usize>,
precision: Option<usize>,

Expand Down