mirror of
https://codeberg.org/demostf/parser.git
synced 2026-06-04 02:24:12 +02:00
clippy fixes
This commit is contained in:
parent
dd3cd6364e
commit
490ebae2c6
3 changed files with 5956 additions and 6511 deletions
|
|
@ -282,6 +282,7 @@ pub fn generate_game_events(demo: Demo) -> TokenStream {
|
|||
|
||||
#[allow(unused_variables)]
|
||||
fn get_field(&self, field: &str) -> Result<GameEventValue> {
|
||||
#[allow(clippy::clone_on_copy, clippy::match_single_binding)]
|
||||
match field {
|
||||
#(#field_getters,)*
|
||||
_ => Err(ParseError::MissingGameEventValue {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue