mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-04-22 10:11:13 -03:00
Rust 1.80 stabilized `std::sync::LazyLock`, which replaces `once_cell::sync::Lazy`. There is one exception in `src/env_dispatch.rs`, which still uses the `once_cell` variant, since the code there relies on `Lazy::get`, which also exists for `LazyLock`, but will only be stabilized in Rust 1.94, so we can't use it yet. Part of #12289