From db0d5952dd504b8cc1b5620a49c05cc2bdb003a8 Mon Sep 17 00:00:00 2001 From: Christoph Herzog <chris@theduke.at> Date: Mon, 13 May 2019 12:35:14 +0200 Subject: [PATCH] Formatting --- juniper/src/macros/tests/object.rs | 1 - juniper/src/macros/tests/union.rs | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/juniper/src/macros/tests/object.rs b/juniper/src/macros/tests/object.rs index 2fb14524..c1597a0c 100644 --- a/juniper/src/macros/tests/object.rs +++ b/juniper/src/macros/tests/object.rs @@ -84,7 +84,6 @@ graphql_object!(CommasWithTrailing: () |&self| { }); struct CommasOnMeta; - graphql_object!(CommasOnMeta: () |&self| { interfaces: [Interface], description: "A description", diff --git a/juniper/src/macros/tests/union.rs b/juniper/src/macros/tests/union.rs index 24b3a692..92a0ec97 100644 --- a/juniper/src/macros/tests/union.rs +++ b/juniper/src/macros/tests/union.rs @@ -53,7 +53,7 @@ impl Concrete { } } -graphql_union!(CustomName: () as "ACustomNamedUnion" |&self| { +graphql_union!(CustomName: () as "ACustomNamedUnion" |&self| { instance_resolvers: |&_| { &Concrete => match *self { CustomName::Concrete(ref c) => Some(c) } }