Skip to content

Commit f2faa9f

Browse files
authored
Merge pull request #423 from kianmeng/fix-typos
2 parents 64ad4e3 + 9dfd693 commit f2faa9f

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ All contributors are expected to follow our [Code of Conduct](CODE_OF_CONDUCT.md
55

66
## Pull requests
77

8-
Before opening large pull requests, it is prefered that the change be discussed in a github issue first. This helps keep everyone on the same page, and facilitates a smoother code review process.
8+
Before opening large pull requests, it is preferred that the change be discussed in a github issue first. This helps keep everyone on the same page, and facilitates a smoother code review process.
99

1010
## Testing
1111

graphql_client_cli/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ OPTIONS:
5858
-o, --selected-operation <selected_operation>
5959
Name of target query. If you don't set this parameter, cli generate all queries in query file.
6060
--fragments-other-variant
61-
Generate an Unknow variant for enums generated by fragments.
61+
Generate an Unknown variant for enums generated by fragments.
6262
6363
6464
ARGS:

graphql_client_codegen/src/codegen_options.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ pub struct GraphQLClientCodegenOptions {
1919
pub mode: CodegenMode,
2020
/// Name of the operation we want to generate code for. If it does not match, we use all queries.
2121
pub operation_name: Option<String>,
22-
/// The name of implemention target struct.
22+
/// The name of implementation target struct.
2323
pub struct_name: Option<String>,
2424
/// The struct for which we derive GraphQLQuery.
2525
struct_ident: Option<Ident>,
@@ -142,7 +142,7 @@ impl GraphQLClientCodegenOptions {
142142
self.module_visibility = Some(visibility);
143143
}
144144

145-
/// The name of implemention target struct.
145+
/// The name of implementation target struct.
146146
pub fn set_struct_name(&mut self, struct_name: String) {
147147
self.struct_name = Some(struct_name);
148148
}

0 commit comments

Comments
 (0)