mirror of
https://github.com/fish-shell/fish-shell
synced 2025-01-15 22:44:01 +00:00
Remove an unreachable_code "allow" declaration
This is no longer necessary - all of the code is readable.
This commit is contained in:
parent
ccc8308d41
commit
99dfbaffb9
1 changed files with 0 additions and 1 deletions
1
fish-rust/src/env/environment.rs
vendored
1
fish-rust/src/env/environment.rs
vendored
|
@ -326,7 +326,6 @@ impl EnvStack {
|
||||||
}
|
}
|
||||||
// React internally to changes to special variables like LANG, and populate on-variable events.
|
// React internally to changes to special variables like LANG, and populate on-variable events.
|
||||||
let mut result = Vec::new();
|
let mut result = Vec::new();
|
||||||
#[allow(unreachable_code)]
|
|
||||||
for callback in callbacks {
|
for callback in callbacks {
|
||||||
let name = callback.key;
|
let name = callback.key;
|
||||||
env_dispatch_var_change(&name, self);
|
env_dispatch_var_change(&name, self);
|
||||||
|
|
Loading…
Reference in a new issue