fish-shell/fish-rust
Mahmoud Al-Qudsi 51eb5168e8 builtins/random: Fix stale comments and use explicit output type
The old comments about using i128 logic were still there even though we are no
longer using that approach and the output type was very much misleadingly a u64
printed to the console (but via `%d` so it was ultimately shown as an i64). Be
explicit about the resulting being a valid i64 value before passing it to the
sprintf!() macro.

Also add comments about the safety of the final `unwrap()` operation.
2023-02-19 16:54:50 -06:00
..
src builtins/random: Fix stale comments and use explicit output type 2023-02-19 16:54:50 -06:00
widestring-suffix Initial Rust commit 2023-02-02 19:34:47 -07:00
build.rs Port fd_monitor (and its needed components) 2023-02-19 15:42:03 -06:00
Cargo.lock Port random to rust 2023-02-19 21:01:46 +01:00
Cargo.toml Port random to rust 2023-02-19 21:01:46 +01:00