about summary refs log tree commit diff
path: root/src/libcore/num
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2016-03-21 00:07:33 -0700
committerbors <bors@rust-lang.org>2016-03-21 00:07:33 -0700
commit7ec8f5c3699bf16c452cff6abaeda26abaeef02c (patch)
tree03778fce618b1d5dd712a9fbef1d7c6b731746ee /src/libcore/num
parent6c4b1f18f3c2a2de17c3562d6557a445b627bcc1 (diff)
parente0945937c4d6786af0b03a11c8cec2c34cde7662 (diff)
downloadrust-7ec8f5c3699bf16c452cff6abaeda26abaeef02c.tar.gz
rust-7ec8f5c3699bf16c452cff6abaeda26abaeef02c.zip
Auto merge of #32054 - seanmonstar:impl-debug-core, r=alexcrichton
libcore: add Debug implementations to most missing types

Also adds `#![deny(missing_debug_implementations)]` to the core crate.

cc #31869
Diffstat (limited to 'src/libcore/num')
-rw-r--r--src/libcore/num/flt2dec/mod.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libcore/num/flt2dec/mod.rs b/src/libcore/num/flt2dec/mod.rs
index b9a7afc400d..b549f334242 100644
--- a/src/libcore/num/flt2dec/mod.rs
+++ b/src/libcore/num/flt2dec/mod.rs
@@ -222,6 +222,7 @@ impl<'a> Part<'a> {
 
 /// Formatted result containing one or more parts.
 /// This can be written to the byte buffer or converted to the allocated string.
+#[allow(missing_debug_implementations)]
 #[derive(Clone)]
 pub struct Formatted<'a> {
     /// A byte slice representing a sign, either `""`, `"-"` or `"+"`.