0
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2025-02-23 05:33:33 -05:00
denoland-deno/runtime/permissions
David Sherret 9e64f63253 refactor: remove usages of map_or / map_or_else (#18212)
These methods are confusing because the arguments are backwards. I feel
like they should have never been added to `Option<T>` and that clippy
should suggest rewriting to
`map(...).unwrap_or(...)`/`map(...).unwrap_or_else(|| ...)`

https://github.com/rust-lang/rfcs/issues/1025
2023-03-16 11:59:57 +09:00
..
mod.rs refactor: remove usages of map_or / map_or_else (#18212) 2023-03-16 11:59:57 +09:00
prompter.rs fix(prompt): better output with control chars (#18108) 2023-03-10 13:02:28 +09:00