aboutsummaryrefslogtreecommitdiff
path: root/alacritty_config_derive/src/de_struct.rs
diff options
context:
space:
mode:
Diffstat (limited to 'alacritty_config_derive/src/de_struct.rs')
-rw-r--r--alacritty_config_derive/src/de_struct.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/alacritty_config_derive/src/de_struct.rs b/alacritty_config_derive/src/de_struct.rs
index 1325cae3..ceb32fd9 100644
--- a/alacritty_config_derive/src/de_struct.rs
+++ b/alacritty_config_derive/src/de_struct.rs
@@ -185,7 +185,7 @@ struct Attr {
}
impl Parse for Attr {
- fn parse(input: ParseStream) -> parse::Result<Self> {
+ fn parse(input: ParseStream<'_>) -> parse::Result<Self> {
let ident = input.parse::<Ident>()?.to_string();
let param = input.parse::<Token![=]>().and_then(|_| input.parse()).ok();
Ok(Self { ident, param })