mirror of
https://github.com/FliegendeWurst/cursive.git
synced 2024-11-10 03:10:41 +00:00
Use better type for new_default
macro
Again, `ty` is a better fit
This commit is contained in:
parent
0401b3ab53
commit
b53e2a42bd
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user