diff options
Diffstat (limited to 'alacritty_config_derive/tests/config.rs')
-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 } |