diff options
author | Christian Duerr <contact@christianduerr.com> | 2021-12-26 17:47:57 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-26 16:47:57 +0000 |
commit | f0934d8440021b3762211d7cf0c26478dacee0dc (patch) | |
tree | 221ea3a4cbd4741950db9b29011c58f49e1ae27a /alacritty_config_derive/tests | |
parent | 850fd1826b567c4c7cca66fd5ffe67c07ce6cc44 (diff) | |
download | alacritty-f0934d8440021b3762211d7cf0c26478dacee0dc.tar.gz alacritty-f0934d8440021b3762211d7cf0c26478dacee0dc.zip |
Migrate to 2021 edition
Diffstat (limited to 'alacritty_config_derive/tests')
-rw-r--r-- | alacritty_config_derive/tests/config.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/alacritty_config_derive/tests/config.rs b/alacritty_config_derive/tests/config.rs index 6838a42e..58ad8bd4 100644 --- a/alacritty_config_derive/tests/config.rs +++ b/alacritty_config_derive/tests/config.rs @@ -131,7 +131,7 @@ struct Logger { } impl Log for Logger { - fn log(&self, record: &Record) { + fn log(&self, record: &Record<'_>) { assert_eq!(record.target(), env!("CARGO_PKG_NAME")); match record.level() { @@ -147,7 +147,7 @@ impl Log for Logger { } } - fn enabled(&self, _metadata: &Metadata) -> bool { + fn enabled(&self, _metadata: &Metadata<'_>) -> bool { true } |