From 4b2fcb70c4224326e8187d497b19dcd57c96ff2a Mon Sep 17 00:00:00 2001 From: Kenny Kerr Date: Tue, 12 Dec 2023 14:47:19 -0600 Subject: [PATCH] rust_2018_idioms --- Cargo.toml | 2 +- crates/libs/windows/src/lib.rs | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index f83f78683e..f206b9e62e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -13,4 +13,4 @@ exclude = [ ] [workspace.lints.rust] -elided-lifetimes-in-paths = "warn" +rust_2018_idioms = "warn" diff --git a/crates/libs/windows/src/lib.rs b/crates/libs/windows/src/lib.rs index a97aeb025e..5271e586f5 100644 --- a/crates/libs/windows/src/lib.rs +++ b/crates/libs/windows/src/lib.rs @@ -8,6 +8,7 @@ Learn more about Rust for Windows here: