We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a4c01a5 commit c14d38dCopy full SHA for c14d38d
library/core/src/fmt/builders.rs
@@ -1236,9 +1236,7 @@ pub fn from_fn<F: Fn(&mut fmt::Formatter<'_>) -> fmt::Result>(f: F) -> FromFn<F>
1236
///
1237
/// Created with [`from_fn`].
1238
#[stable(feature = "fmt_from_fn", since = "CURRENT_RUSTC_VERSION")]
1239
-pub struct FromFn<F>(F)
1240
-where
1241
- F: Fn(&mut fmt::Formatter<'_>) -> fmt::Result;
+pub struct FromFn<F>(F);
1242
1243
1244
impl<F> fmt::Debug for FromFn<F>
0 commit comments