about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAshley Mannix <ashleymannix@live.com.au>2019-07-09 08:30:20 +1000
committerAshley Mannix <ashleymannix@live.com.au>2019-07-09 08:30:20 +1000
commit70d630fd5a57d436b6a5064840b69920b10a110c (patch)
tree8073dad8223d9d9cad8feea2eedcf614a92513d1
parente98ea52762e7ecf492b3a1880deb78610ef22996 (diff)
downloadrust-70d630fd5a57d436b6a5064840b69920b10a110c.tar.gz
rust-70d630fd5a57d436b6a5064840b69920b10a110c.zip
add feature to docs
-rw-r--r--src/libcore/fmt/builders.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libcore/fmt/builders.rs b/src/libcore/fmt/builders.rs
index abc97aacbb9..cb4e32622ff 100644
--- a/src/libcore/fmt/builders.rs
+++ b/src/libcore/fmt/builders.rs
@@ -750,6 +750,7 @@ impl<'a, 'b: 'a> DebugMap<'a, 'b> {
     /// # Examples
     ///
     /// ```
+    /// # #![feature(debug_map_key_value)]
     /// use std::fmt;
     ///
     /// struct Foo(Vec<(String, i32)>);
@@ -813,6 +814,7 @@ impl<'a, 'b: 'a> DebugMap<'a, 'b> {
     /// # Examples
     ///
     /// ```
+    /// # #![feature(debug_map_key_value)]
     /// use std::fmt;
     ///
     /// struct Foo(Vec<(String, i32)>);