From 99dfbaffb9cff9c59019582cc582b2cba07ab322 Mon Sep 17 00:00:00 2001 From: ridiculousfish Date: Sun, 26 Nov 2023 17:23:02 -0800 Subject: [PATCH] Remove an unreachable_code "allow" declaration This is no longer necessary - all of the code is readable. --- fish-rust/src/env/environment.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/fish-rust/src/env/environment.rs b/fish-rust/src/env/environment.rs index 209019156..cd1ce6c69 100644 --- a/fish-rust/src/env/environment.rs +++ b/fish-rust/src/env/environment.rs @@ -326,7 +326,6 @@ impl EnvStack { } // React internally to changes to special variables like LANG, and populate on-variable events. let mut result = Vec::new(); - #[allow(unreachable_code)] for callback in callbacks { let name = callback.key; env_dispatch_var_change(&name, self);