From f0331e65b122884ce63bb30d24ca55ade108b66e Mon Sep 17 00:00:00 2001 From: Kenny Levinsen Date: Thu, 27 Feb 2025 17:41:08 +0100 Subject: [PATCH] cargo: Bump to 2024 edition --- Cargo.toml | 2 +- src/state.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index b61c645..c83ae95 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "wldash2" version = "0.2.0" -edition = "2021" +edition = "2024" [profile.release] #debug = true diff --git a/src/state.rs b/src/state.rs index b36f5e1..61a57bd 100644 --- a/src/state.rs +++ b/src/state.rs @@ -141,7 +141,7 @@ impl State { activation.activate(key, surface); let activation_token = activation.get_activation_token(qh, ()); activation_token.commit(); - env::remove_var("XDG_ACTIVATION_TOKEN"); + unsafe { env::remove_var("XDG_ACTIVATION_TOKEN"); } } _ => (), }