Skip to content

Commit

Permalink
Merge pull request #15 from dtolnay-contrib/noop_method_call
Browse files Browse the repository at this point in the history
Resolve noop_method_call warnings
  • Loading branch information
mdrokz authored Nov 26, 2023
2 parents 28307e6 + 13441ff commit 889a2f1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/compile.rs
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,7 @@ fn get_types(
get_types(
p_type,
PropertyType::Element(typ_element),
Some(typ_element.clone()),
Some(typ_element),
types,
enums,
objects,
Expand All @@ -398,7 +398,7 @@ fn get_types(
Some(p) => get_types(
p.clone(),
PropertyType::Param(property),
Some(typ_element.clone()),
Some(typ_element),
types,
enums,
objects,
Expand Down Expand Up @@ -1357,7 +1357,7 @@ pub fn compile_cdp_json(file_name: &str, commit: &str) -> (Vec<TokenStream>, Vec
get_types(
type_element.type_type,
PropertyType::Element(type_element),
Some(type_element.clone()),
Some(type_element),
&mut types,
&mut enums,
&mut objects,
Expand Down

0 comments on commit 889a2f1

Please sign in to comment.