Rustfmt and Clippy

This commit is contained in:
Sunli 2020-06-05 21:42:24 +08:00
parent 5beef0e536
commit 74dc863a8f
2 changed files with 0 additions and 2 deletions

View File

@ -285,7 +285,6 @@ impl Field {
.value()
.to_string()
.split(',')
.into_iter()
.map(|s| s.trim().to_string())
.collect();
} else {

View File

@ -99,7 +99,6 @@ pub fn generate(object_args: &args::Object, input: &mut DeriveInput) -> Result<T
.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()))?; });
let features = &field.features;
if features.is_empty() {
if field.is_ref {