Fix clippy warnings
This commit is contained in:
parent
fe64d53b45
commit
e21af53374
@ -43,7 +43,7 @@ where
|
|||||||
};
|
};
|
||||||
let stmt = Type::create()
|
let stmt = Type::create()
|
||||||
.as_enum(Alias::new(name))
|
.as_enum(Alias::new(name))
|
||||||
.values(values.into_iter().map(|val| Alias::new(val.as_str())))
|
.values(values.iter().map(|val| Alias::new(val.as_str())))
|
||||||
.to_owned();
|
.to_owned();
|
||||||
vec.push(stmt);
|
vec.push(stmt);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user