From 82a9f94de5145665bb3b3e64bbe8d01969b7ab1e Mon Sep 17 00:00:00 2001 From: John Millikin Date: Thu, 9 Nov 2023 08:47:24 +0900 Subject: Closure-consuming helper functions for `fmt::Debug` helpers --- library/core/src/fmt/mod.rs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'library/core/src/fmt/mod.rs') 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 -- cgit 1.4.1-3-g733a5