Skip to content

Commit b5748f7

Browse files
authored
Fix new lint in Rust 1.89 (#985)
1 parent 1018f07 commit b5748f7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/apollo-compiler/src/macros.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ macro_rules! serialize_method {
33
/// Returns a builder that has chaining methods for setting serialization configuration,
44
/// and implements the [`Display`][std::fmt::Display] and [`ToString`] traits
55
/// by writing GraphQL syntax.
6-
pub fn serialize(&self) -> $crate::ast::serialize::Serialize<Self> {
6+
pub fn serialize(&self) -> $crate::ast::serialize::Serialize<'_, Self> {
77
$crate::ast::serialize::Serialize {
88
node: self,
99
config: Default::default(),

0 commit comments

Comments
 (0)