clippy: fix

This commit is contained in:
Kasper Juul Hermansen 2023-01-29 22:26:23 +01:00
parent 3a7ee33e1e
commit 6afe141d34
Signed by: kjuulh
GPG Key ID: 57B6E1465221F912
3 changed files with 3 additions and 3 deletions

View File

@ -124,7 +124,7 @@ impl Handler for Input {
#[cfg(test)] #[cfg(test)]
mod tests { mod tests {
use graphql_introspection_query::introspection_response::{ use graphql_introspection_query::introspection_response::{
FullType, FullTypeFields, FullTypeInputFields, InputValue, TypeRef, __TypeKind, FullType, FullTypeInputFields, InputValue, TypeRef, __TypeKind,
}; };
use pretty_assertions::assert_eq; use pretty_assertions::assert_eq;

View File

@ -10,7 +10,7 @@ use genco::prelude::*;
use graphql_introspection_query::introspection_response::FullType; use graphql_introspection_query::introspection_response::FullType;
pub trait Handler { pub trait Handler {
fn predicate(&self, t: &FullType) -> bool { fn predicate(&self, _t: &FullType) -> bool {
false false
} }

View File

@ -36,7 +36,7 @@ impl Handler for Scalar {
}) })
} }
fn render_impl(&self, t: &FullType) -> eyre::Result<genco::prelude::rust::Tokens> { fn render_impl(&self, _t: &FullType) -> eyre::Result<genco::prelude::rust::Tokens> {
todo!() todo!()
} }
} }