Skip to content

Commit 5969b2d

Browse files
author
daniel.eades
committed
remove needless raw string hashes (clippy::needless_raw_string_hashes)
1 parent ac51b46 commit 5969b2d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

graphql_client_codegen/src/constants.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
pub(crate) const TYPENAME_FIELD: &str = "__typename";
22

3-
pub(crate) const MULTIPLE_SUBSCRIPTION_FIELDS_ERROR: &str = r##"
3+
pub(crate) const MULTIPLE_SUBSCRIPTION_FIELDS_ERROR: &str = r"
44
Multiple-field queries on the root subscription field are forbidden by the spec.
55
66
See: https://github.com/facebook/graphql/blob/master/spec/Section%205%20--%20Validation.md#subscription-operation-definitions
7-
"##;
7+
";
88

99
/// Error message when a selection set is the root of a query.
10-
pub(crate) const SELECTION_SET_AT_ROOT: &str = r#"
10+
pub(crate) const SELECTION_SET_AT_ROOT: &str = r"
1111
Operations in queries must be named.
1212
1313
Instead of this:
@@ -33,4 +33,4 @@ query UserRepositories {
3333
}
3434
}
3535
}
36-
"#;
36+
";

0 commit comments

Comments
 (0)