diff options
| author | schvv31n <tim.kurdov@gmail.com> | 2024-08-12 18:32:31 +0100 |
|---|---|---|
| committer | schvv31n <tim.kurdov@gmail.com> | 2024-08-12 18:33:30 +0100 |
| commit | 027b19fa9b85c3330d2eb38970c22e44873db2fc (patch) | |
| tree | 8daa9a9106dd582bfebe08e17563e24ee900d323 /library/alloc | |
| parent | e08b80c0fb7667bdcd040761891701e576c42ec8 (diff) | |
| download | rust-027b19fa9b85c3330d2eb38970c22e44873db2fc.tar.gz rust-027b19fa9b85c3330d2eb38970c22e44873db2fc.zip | |
std::fmt::FormatterFn -> std::fmt::FromFn
Diffstat (limited to 'library/alloc')
| -rw-r--r-- | library/alloc/src/fmt.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/alloc/src/fmt.rs b/library/alloc/src/fmt.rs index 4b9b90fc1f1..571fcd177aa 100644 --- a/library/alloc/src/fmt.rs +++ b/library/alloc/src/fmt.rs @@ -581,7 +581,7 @@ 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; +pub use core::fmt::{from_fn, FromFn}; #[stable(feature = "rust1", since = "1.0.0")] pub use core::fmt::{write, Arguments}; #[stable(feature = "rust1", since = "1.0.0")] |
