Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Katharina Fey
keybob
Commits
ecc00d96
Verified
Commit
ecc00d96
authored
Feb 27, 2021
by
Alyssa Ross
Committed by
Katharina Fey
Feb 28, 2021
Browse files
Remove explicit static lifetimes
parent
9b5fd85f
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/serial.rs
View file @
ecc00d96
...
...
@@ -127,7 +127,7 @@ impl<'de> Deserialize<'de> for Key {
}
}
const
FIELDS
:
&
'static
[
&
'static
str
]
=
&
[
"tt"
,
"key"
];
const
FIELDS
:
&
[
&
str
]
=
&
[
"tt"
,
"key"
];
deserializer
.deserialize_struct
(
"Key"
,
FIELDS
,
KeyVisitor
)
}
}
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment