Rustfmt and Clippy
This commit is contained in:
parent
5beef0e536
commit
74dc863a8f
|
@ -285,7 +285,6 @@ impl Field {
|
||||||
.value()
|
.value()
|
||||||
.to_string()
|
.to_string()
|
||||||
.split(',')
|
.split(',')
|
||||||
.into_iter()
|
|
||||||
.map(|s| s.trim().to_string())
|
.map(|s| s.trim().to_string())
|
||||||
.collect();
|
.collect();
|
||||||
} else {
|
} else {
|
||||||
|
|
|
@ -99,7 +99,6 @@ pub fn generate(object_args: &args::Object, input: &mut DeriveInput) -> Result<T
|
||||||
.post_guard
|
.post_guard
|
||||||
.map(|guard| quote! { #guard.check(ctx, &res).await.map_err(|err| err.into_error_with_path(ctx.position(), ctx.path_node.as_ref().unwrap().to_json()))?; });
|
.map(|guard| quote! { #guard.check(ctx, &res).await.map_err(|err| err.into_error_with_path(ctx.position(), ctx.path_node.as_ref().unwrap().to_json()))?; });
|
||||||
|
|
||||||
|
|
||||||
let features = &field.features;
|
let features = &field.features;
|
||||||
if features.is_empty() {
|
if features.is_empty() {
|
||||||
if field.is_ref {
|
if field.is_ref {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user