Skip to content

Commit

Permalink
docs: fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
azzamsa committed Aug 1, 2024
1 parent 41c29df commit 8a82c8c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion configs/typos.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
4 changes: 1 addition & 3 deletions tests/user/graphql.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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<i32>,
Expand Down Expand Up @@ -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);
Expand Down

0 comments on commit 8a82c8c

Please sign in to comment.