about summary refs log tree commit diff
path: root/library/core/src/fmt/mod.rs
diff options
context:
space:
mode:
authorJohn Millikin <john@john-millikin.com>2023-11-09 08:47:24 +0900
committerJohn Millikin <john@john-millikin.com>2023-11-10 07:50:11 +0900
commit82a9f94de5145665bb3b3e64bbe8d01969b7ab1e (patch)
tree70c6dd1293b9c0c85b25d92f0b9d2b58b79786be /library/core/src/fmt/mod.rs
parent90fdc1fc270fef7d1a999207f1da29b41da70dac (diff)
downloadrust-82a9f94de5145665bb3b3e64bbe8d01969b7ab1e.tar.gz
rust-82a9f94de5145665bb3b3e64bbe8d01969b7ab1e.zip
Closure-consuming helper functions for `fmt::Debug` helpers
Diffstat (limited to 'library/core/src/fmt/mod.rs')
-rw-r--r--library/core/src/fmt/mod.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/library/core/src/fmt/mod.rs b/library/core/src/fmt/mod.rs
index c45ab094a20..e1b7b46a1ed 100644
--- a/library/core/src/fmt/mod.rs
+++ b/library/core/src/fmt/mod.rs
@@ -39,6 +39,9 @@ pub enum Alignment {
 #[stable(feature = "debug_builders", since = "1.2.0")]
 pub use self::builders::{DebugList, DebugMap, DebugSet, DebugStruct, DebugTuple};
 
+#[unstable(feature = "debug_closure_helpers", issue = "117729")]
+pub use self::builders::FormatterFn;
+
 /// The type returned by formatter methods.
 ///
 /// # Examples