mirror of
https://github.com/nushell/nushell.git
synced 2025-08-10 07:38:44 +02:00
Same general idea as https://github.com/nushell/nushell/pull/16266 Fixes the 2024 edition [`unsafe_op_in_unsafe_fn`](https://doc.rust-lang.org/nightly/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html) lint for FreeBSD as well Add safety comments to both implementations and an assertion before `MaybeUninit::assume_init`