Skip to content

Commit

Permalink
Auto merge of #51333 - GuillaumeGomez:reexport-fmt-alignment, r=Simon…
Browse files Browse the repository at this point in the history
…Sapin

Reexport fmt::Alignment into std

Follow-up of #51078.
  • Loading branch information
bors committed Jun 6, 2018
2 parents 35aeecb + 8049848 commit cb8ab33
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 2 additions & 0 deletions src/liballoc/fmt.rs
Original file line number Diff line number Diff line change
Expand Up @@ -531,6 +531,8 @@ pub use core::fmt::Error;
pub use core::fmt::{write, ArgumentV1, Arguments};
#[stable(feature = "rust1", since = "1.0.0")]
pub use core::fmt::{DebugList, DebugMap, DebugSet, DebugStruct, DebugTuple};
#[stable(feature = "fmt_flags_align", since = "1.28.0")]
pub use core::fmt::{Alignment};

use string;

Expand Down
3 changes: 1 addition & 2 deletions src/libcore/fmt/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1436,8 +1436,7 @@ impl<'a> Formatter<'a> {
/// ```
/// extern crate core;
///
/// use std::fmt;
/// use core::fmt::Alignment;
/// use std::fmt::{self, Alignment};
///
/// struct Foo;
///
Expand Down

0 comments on commit cb8ab33

Please sign in to comment.