From dc4cdf0bf5fc6177c8a059966fa11c25f739441c Mon Sep 17 00:00:00 2001 From: Byeongjee Kang Date: Mon, 27 Apr 2020 15:28:05 +0900 Subject: [PATCH] Fix deprecated comments (#635) build_*_type methods return meta types directly. They don't return builders. --- juniper/src/executor/mod.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/juniper/src/executor/mod.rs b/juniper/src/executor/mod.rs index cb5593b3..d1378c17 100644 --- a/juniper/src/executor/mod.rs +++ b/juniper/src/executor/mod.rs @@ -1209,7 +1209,7 @@ where NullableMeta::new(of_type) } - /// Create an object meta type builder + /// Create an object meta type /// /// To prevent infinite recursion by enforcing ordering, this returns a /// function that needs to be called with the list of fields on the object. @@ -1242,7 +1242,7 @@ where EnumMeta::new::(Cow::Owned(name.to_string()), values) } - /// Create an interface meta type builder, + /// Create an interface meta type, /// by providing a type info object. pub fn build_interface_type( &mut self, @@ -1259,7 +1259,7 @@ where InterfaceMeta::new(Cow::Owned(name.to_string()), &v) } - /// Create a union meta type builder + /// Create a union meta type pub fn build_union_type(&mut self, info: &T::TypeInfo, types: &[Type<'r>]) -> UnionMeta<'r> where T: GraphQLType, @@ -1269,7 +1269,7 @@ where UnionMeta::new(Cow::Owned(name.to_string()), types) } - /// Create an input object meta type builder + /// Create an input object meta type pub fn build_input_object_type( &mut self, info: &T::TypeInfo,