Add allow(unused_braces, unused_parens) attribute
This fixes false positive warnings for the stable compiler.
This commit is contained in:
parent
385bd16d24
commit
1aef56244f
@ -465,6 +465,7 @@ pub fn generate(object_args: &args::Object, item_impl: &mut ItemImpl) -> Result<
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#[allow(unused_braces, unused_parens)]
|
||||||
#[#crate_name::async_trait::async_trait]
|
#[#crate_name::async_trait::async_trait]
|
||||||
impl#generics #crate_name::ObjectType for #self_ty #where_clause {
|
impl#generics #crate_name::ObjectType for #self_ty #where_clause {
|
||||||
async fn resolve_field(&self, ctx: &#crate_name::Context<'_>) -> #crate_name::Result<#crate_name::serde_json::Value> {
|
async fn resolve_field(&self, ctx: &#crate_name::Context<'_>) -> #crate_name::Result<#crate_name::serde_json::Value> {
|
||||||
|
Loading…
Reference in New Issue
Block a user