We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c7ddb89 commit 246edb8Copy full SHA for 246edb8
src/libcore/fmt/mod.rs
@@ -166,7 +166,9 @@ pub struct Formatter<'a> {
166
// NB. Argument is essentially an optimized partially applied formatting function,
167
// equivalent to `exists T.(&T, fn(&T, &mut Formatter) -> Result`.
168
169
-enum Void {}
+struct Void {
170
+ _priv: (),
171
+}
172
173
/// This struct represents the generic "argument" which is taken by the Xprintf
174
/// family of functions. It contains a function to format the given value. At
0 commit comments