We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2afec4d commit 2121118Copy full SHA for 2121118
src/libcore/fmt/mod.rs
@@ -166,9 +166,7 @@ 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
-struct Void {
170
- _private: (),
171
-}
+enum Void {}
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