diff --git a/juniper/src/executor/mod.rs b/juniper/src/executor/mod.rs index 36c5fc1e8..e992f3dd6 100644 --- a/juniper/src/executor/mod.rs +++ b/juniper/src/executor/mod.rs @@ -90,7 +90,7 @@ pub struct ExecutionError { impl Eq for ExecutionError where Self: PartialEq {} impl ExecutionError { - /// Construct a new execution error occuring at the beginning of the query + /// Construct a new execution error occurring at the beginning of the query pub fn at_origin(error: FieldError) -> ExecutionError { ExecutionError { location: SourcePosition::new_origin(), diff --git a/juniper/src/macros/helper/subscription.rs b/juniper/src/macros/helper/subscription.rs index 88d1cb40f..788cfc092 100644 --- a/juniper/src/macros/helper/subscription.rs +++ b/juniper/src/macros/helper/subscription.rs @@ -66,7 +66,7 @@ where S: ScalarValue, { /// Stream's return Value that will be returned if - /// no errors occured. Is used to determine field type in + /// no errors occurred. Is used to determine field type in /// `#[juniper::graphql_subscription]` type Item: GraphQLValue; } diff --git a/juniper_codegen/src/lib.rs b/juniper_codegen/src/lib.rs index edb47a928..d744a6a82 100644 --- a/juniper_codegen/src/lib.rs +++ b/juniper_codegen/src/lib.rs @@ -2055,7 +2055,7 @@ pub fn graphql_subscription(attr: TokenStream, body: TokenStream) -> TokenStream /// /// # Custom name and description /// -/// The name of [GraphQL union][1] may be overriden with a `name` attribute's argument. By default, +/// The name of [GraphQL union][1] may be overridden with a `name` attribute's argument. By default, /// a type name is used. /// /// The description of [GraphQL union][1] may be specified either with a `description`/`desc` @@ -2374,7 +2374,7 @@ pub fn derive_union(body: TokenStream) -> TokenStream { /// /// # Custom name and description /// -/// The name of [GraphQL union][1] may be overriden with a `name` attribute's argument. By default, +/// The name of [GraphQL union][1] may be overridden with a `name` attribute's argument. By default, /// a type name is used. /// /// The description of [GraphQL union][1] may be specified either with a `description`/`desc`