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/alloc/src/fmt.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'library/alloc/src/fmt.rs') diff --git a/library/alloc/src/fmt.rs b/library/alloc/src/fmt.rs index 1e2c35bf735..5b50ef7bf6c 100644 --- a/library/alloc/src/fmt.rs +++ b/library/alloc/src/fmt.rs @@ -555,6 +555,8 @@ pub use core::fmt::Alignment; #[stable(feature = "rust1", since = "1.0.0")] pub use core::fmt::Error; +#[unstable(feature = "debug_closure_helpers", issue = "117729")] +pub use core::fmt::FormatterFn; #[stable(feature = "rust1", since = "1.0.0")] pub use core::fmt::{write, Arguments}; #[stable(feature = "rust1", since = "1.0.0")] -- cgit 1.4.1-3-g733a5