From 5d705afeb4e3c560f7c5e197c30833f4575a6f2f Mon Sep 17 00:00:00 2001 From: Sunli Date: Thu, 17 Sep 2020 08:51:46 +0800 Subject: [PATCH] Update docs --- src/error.rs | 2 +- src/lib.rs | 15 --------------- 2 files changed, 1 insertion(+), 16 deletions(-) diff --git a/src/error.rs b/src/error.rs index 3a5f796b..73811d00 100644 --- a/src/error.rs +++ b/src/error.rs @@ -72,7 +72,7 @@ impl FieldError { } } -/// An alias for `Result`. +/// An alias for `Result`. pub type FieldResult = std::result::Result; impl From for FieldError { diff --git a/src/lib.rs b/src/lib.rs index bcfc7d4a..1d773804 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -292,8 +292,6 @@ pub use async_graphql_derive::GQLObject; /// Define a GraphQL object with fields /// -/// You can also [derive this](derive.GQLSimpleObject.html). -/// /// *[See also the Book](https://async-graphql.github.io/async-graphql/en/define_simple_object.html).* /// /// Similar to `Object`, but defined on a structure that automatically generates getters for all fields. For a list of valid field types, see [`Object`](attr.Object.html). All fields are converted to camelCase. @@ -343,8 +341,6 @@ pub use async_graphql_derive::GQLSimpleObject; /// Define a GraphQL enum /// -/// You can also [derive this](derive.GQLEnum.html). -/// /// *[See also the Book](https://async-graphql.github.io/async-graphql/en/define_enum.html).* /// /// # Macro parameters @@ -401,9 +397,6 @@ pub use async_graphql_derive::GQLEnum; /// Define a GraphQL input object /// -/// -/// You can also [derive this](derive.GQLInputObject.html). -/// /// *[See also the Book](https://async-graphql.github.io/async-graphql/en/define_input_object.html).* /// /// # Macro parameters @@ -461,8 +454,6 @@ pub use async_graphql_derive::GQLInputObject; /// Define a GraphQL interface /// -/// You can also [derive this](derive.GQLInterface.html). -/// /// *[See also the Book](https://async-graphql.github.io/async-graphql/en/define_interface.html).* /// /// # Macro parameters @@ -591,8 +582,6 @@ pub use async_graphql_derive::GQLInterface; /// Define a GraphQL union /// -/// You can also [derive this](derive.GQLUnion.html). -/// /// *[See also the Book](https://async-graphql.github.io/async-graphql/en/define_union.html).* /// /// # Macro parameters @@ -725,8 +714,6 @@ pub use async_graphql_derive::GQLScalar; /// Define a merged object with multiple object types. /// -/// You can also [derive this](derive.GQLMergedObject.html). -/// /// *[See also the Book](https://async-graphql.github.io/async-graphql/en/merging_objects.html).* /// /// # Macro parameters @@ -767,8 +754,6 @@ pub use async_graphql_derive::GQLMergedObject; /// Define a merged subscription with multiple subscription types. /// -/// You can also [derive this](derive.GQLMergedSubscription.html). -/// /// *[See also the Book](https://async-graphql.github.io/async-graphql/en/merging_objects.html).* /// /// # Macro parameters