Skip to content

Commit

Permalink
clippy fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
icewind1991 committed May 6, 2024
1 parent dd3cd63 commit 490ebae
Show file tree
Hide file tree
Showing 3 changed files with 5,956 additions and 6,511 deletions.
1 change: 1 addition & 0 deletions src/codegen/gameevent.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
Loading

0 comments on commit 490ebae

Please sign in to comment.