Skip to content

Commit 0c57cfb

Browse files
committed
Fix clippy warning
1 parent 607b234 commit 0c57cfb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

graphql_query_derive/src/attributes.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ use failure;
22
use graphql_client_codegen::deprecation::DeprecationStrategy;
33
use syn;
44

5-
const DEPRECATION_ERROR: &'static str = "deprecated must be one of 'allow', 'deny', or 'warn'";
5+
const DEPRECATION_ERROR: &str = "deprecated must be one of 'allow', 'deny', or 'warn'";
66

77
/// The `graphql` attribute as a `syn::Path`.
88
fn path_to_match() -> syn::Path {

0 commit comments

Comments
 (0)