aboutsummaryrefslogtreecommitdiff
path: root/alacritty_config_derive/src
diff options
context:
space:
mode:
authorChristian Duerr <contact@christianduerr.com>2021-12-26 17:47:57 +0100
committerGitHub <noreply@github.com>2021-12-26 16:47:57 +0000
commitf0934d8440021b3762211d7cf0c26478dacee0dc (patch)
tree221ea3a4cbd4741950db9b29011c58f49e1ae27a /alacritty_config_derive/src
parent850fd1826b567c4c7cca66fd5ffe67c07ce6cc44 (diff)
downloadalacritty-f0934d8440021b3762211d7cf0c26478dacee0dc.tar.gz
alacritty-f0934d8440021b3762211d7cf0c26478dacee0dc.zip
Migrate to 2021 edition
Diffstat (limited to 'alacritty_config_derive/src')
-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 })