mirror of
https://codeberg.org/demostf/parser.git
synced 2026-06-04 02:24:12 +02:00
clippy
This commit is contained in:
parent
2f7f610723
commit
4dc88f1dcc
4 changed files with 2408 additions and 3184 deletions
|
|
@ -406,7 +406,7 @@ pub fn generate_game_events(demo: Demo) -> TokenStream {
|
|||
pub fn as_str(&self) -> &str {
|
||||
match self {
|
||||
#(#type_to_names)*
|
||||
GameEventType::Unknown(ty) => &ty,
|
||||
GameEventType::Unknown(ty) => ty,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue