1
0
Fork 0
mirror of https://codeberg.org/demostf/parser.git synced 2026-06-04 02:24:12 +02:00

clippy fixes

This commit is contained in:
Robin Appelman 2024-05-06 16:00:59 +02:00
commit 490ebae2c6
3 changed files with 5956 additions and 6511 deletions

View file

@ -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 {