Skip to content

Commit 9f04050

Browse files
committed
tracking issue for fmt::DisplayAsDebug is rust-lang#49128
1 parent 4888994 commit 9f04050

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

src/liballoc/fmt.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -528,7 +528,7 @@ pub use core::fmt::{ArgumentV1, Arguments, write};
528528
#[stable(feature = "rust1", since = "1.0.0")]
529529
pub use core::fmt::{DebugList, DebugMap, DebugSet, DebugStruct, DebugTuple};
530530

531-
#[unstable(feature = "display_as_debug", issue = "0")]
531+
#[unstable(feature = "display_as_debug", issue = "49128")]
532532
pub use core::fmt::DisplayAsDebug;
533533

534534
use string;

src/libcore/fmt/builders.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -593,12 +593,12 @@ impl<'a, 'b: 'a> DebugMap<'a, 'b> {
593593
/// assert_eq!(format!("{:?}", Table(&*table, 0)),
594594
/// "{0 => 1, 1 => 2, _ => 0}");
595595
/// ```
596-
#[unstable(feature = "display_as_debug", issue = "0")]
596+
#[unstable(feature = "display_as_debug", issue = "49128")]
597597
#[must_use]
598598
#[derive(Copy, Clone)]
599599
pub struct DisplayAsDebug<T>(pub T);
600600

601-
#[unstable(feature = "display_as_debug", issue = "0")]
601+
#[unstable(feature = "display_as_debug", issue = "49128")]
602602
impl<T: fmt::Display> fmt::Debug for DisplayAsDebug<T> {
603603
fn fmt(&self, fmt: &mut fmt::Formatter) -> fmt::Result {
604604
<T as fmt::Display>::fmt(&self.0, fmt)

src/libcore/fmt/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ pub enum Alignment {
4242
#[stable(feature = "debug_builders", since = "1.2.0")]
4343
pub use self::builders::{DebugStruct, DebugTuple, DebugSet, DebugList, DebugMap};
4444

45-
#[unstable(feature = "display_as_debug", issue = "0")]
45+
#[unstable(feature = "display_as_debug", issue = "49128")]
4646
pub use self::builders::DisplayAsDebug;
4747

4848
#[unstable(feature = "fmt_internals", reason = "internal to format_args!",

0 commit comments

Comments
 (0)