From 8a82c8c08bdd25eefe011ed47b5cedf51bb53053 Mon Sep 17 00:00:00 2001 From: azzamsa Date: Thu, 1 Aug 2024 10:27:20 +0700 Subject: [PATCH] docs: fix typos --- configs/typos.toml | 2 +- tests/user/graphql.rs | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/configs/typos.toml b/configs/typos.toml index 3d67aec..e583a67 100644 --- a/configs/typos.toml +++ b/configs/typos.toml @@ -2,5 +2,5 @@ extend-exclude = ["CHANGELOG.md"] [default.extend-words] -# [RFC 4122 - A Universally Unique IDentifier (UUID) URN Namespace](https://datatracker.ietf.org/doc/html/rfc4122) +# [RFC 4122 - A Universally Unique Identifier (UUID) URN Namespace](https://datatracker.ietf.org/doc/html/rfc4122) Dentifier = "Dentifier" diff --git a/tests/user/graphql.rs b/tests/user/graphql.rs index 22bee04..0bc5f69 100644 --- a/tests/user/graphql.rs +++ b/tests/user/graphql.rs @@ -13,7 +13,7 @@ pub mod queries { pub users: UserConnection, } - // All sturct must be inline + // All struct must be inline #[derive(cynic::QueryVariables, Debug)] pub struct ReadUsersArguments { pub first: Option, @@ -49,13 +49,11 @@ pub mod queries { pub user: User, } - // All sturct must be inline #[derive(cynic::QueryVariables, Debug)] pub struct ReadUserArguments { pub id: Uuid, } - // All sturct must be inline #[derive(cynic::Scalar, Debug, Clone)] #[cynic(graphql_type = "UUID")] pub struct Uuid(pub String);