Skip to content

Commit 2121118

Browse files
committed
Revert libcore changes
1 parent 2afec4d commit 2121118

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/libcore/fmt/mod.rs

+1-3
Original file line numberDiff line numberDiff line change
@@ -166,9 +166,7 @@ pub struct Formatter<'a> {
166166
// NB. Argument is essentially an optimized partially applied formatting function,
167167
// equivalent to `exists T.(&T, fn(&T, &mut Formatter) -> Result`.
168168

169-
struct Void {
170-
_private: (),
171-
}
169+
enum Void {}
172170

173171
/// This struct represents the generic "argument" which is taken by the Xprintf
174172
/// family of functions. It contains a function to format the given value. At

0 commit comments

Comments
 (0)