Skip to content

Commit 0aa2961

Browse files
committed
Remove static lifetime from generated code
1 parent eddbcd1 commit 0aa2961

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

graphql_client_codegen/src/generated_module.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,8 +86,8 @@ impl<'a> GeneratedModule<'a> {
8686

8787
use std::result::Result;
8888

89-
pub const OPERATION_NAME: &'static str = #operation_name;
90-
pub const QUERY: &'static str = #query_string;
89+
pub const OPERATION_NAME: &str = #operation_name;
90+
pub const QUERY: &str = #query_string;
9191

9292
#query_include
9393

0 commit comments

Comments
 (0)