]> git.lizzy.rs Git - rust.git/blobdiff - src/libcore/fmt/rt.rs
rollup merge of #17355 : gamazeps/issue17210
[rust.git] / src / libcore / fmt / rt.rs
index 388084b9ed8312a05aec0c4a092d3e9207f7b77f..1c88eb6ddfa17819195e9e796fe043be80b25857 100644 (file)
 //! These definitions are similar to their `ct` equivalents, but differ in that
 //! these can be statically allocated and are slightly optimized for the runtime
 
-
-#[doc(hidden)]
-pub enum Piece<'a> {
-    String(&'a str),
-    Argument(Argument<'a>),
-}
-
 #[doc(hidden)]
 pub struct Argument<'a> {
     pub position: Position,
@@ -43,6 +36,8 @@ pub enum Alignment {
     AlignLeft,
     /// Indication that contents should be right-aligned.
     AlignRight,
+    /// Indication that contents should be center-aligned.
+    AlignCenter,
     /// No alignment was requested.
     AlignUnknown,
 }