Skip to content

Commit

Permalink
Revert libcore changes
Browse files Browse the repository at this point in the history
  • Loading branch information
canndrew committed Nov 23, 2016
1 parent 2afec4d commit 2121118
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/libcore/fmt/mod.rs
Expand Up @@ -166,9 +166,7 @@ pub struct Formatter<'a> {
// NB. Argument is essentially an optimized partially applied formatting function,
// equivalent to `exists T.(&T, fn(&T, &mut Formatter) -> Result`.

struct Void {
_private: (),
}
enum Void {}

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

0 comments on commit 2121118

Please sign in to comment.