mirror of https://github.com/rust-lang/rust.git
Reexport fmt::Alignment into std
This commit is contained in:
parent
3575be60ea
commit
804984836e
|
@ -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;
|
||||
|
||||
|
|
|
@ -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;
|
||||
///
|
||||
|
|
Loading…
Reference in New Issue