Use better type for new_default macro

Again, `ty` is a better fit
This commit is contained in:
Alexandre Bury 2016-09-24 17:06:33 -07:00
parent 0401b3ab53
commit b53e2a42bd

View File

@ -62,7 +62,7 @@ macro_rules! println_stderr(
);
macro_rules! new_default(
($c:ident) => {
($c:ty) => {
impl Default for $c {
fn default() -> Self {
Self::new()