Skip to content

Commit

Permalink
Remove logic for fields without trailing commas.
Browse files Browse the repository at this point in the history
  • Loading branch information
David McGillicuddy committed Nov 21, 2016
1 parent 31a5fe4 commit 6f79425
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions src/render/src/macros/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -83,14 +83,4 @@ macro_rules! gfx_defines {
}
gfx_defines!($($tail)+);
};

($keyword:ident $name:ident {
$( $field:ident : $ty:ty = $e:expr ),*
}) => {
gfx_defines! {
$keyword $name {
$($field : $ty = $e ,)*
}
}
};
}

0 comments on commit 6f79425

Please sign in to comment.