0
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2025-03-03 17:34:47 -05:00
deno/cli/tools/repl
David Sherret fb021d7cef
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-15 17:46:36 -04:00
..
cdp.rs chore: update copyright year to 2023 (#17247) 2023-01-02 21:00:42 +00:00
channel.rs chore: update copyright year to 2023 (#17247) 2023-01-02 21:00:42 +00:00
editor.rs refactor: remove usages of map_or / map_or_else (#18212) 2023-03-15 17:46:36 -04:00
mod.rs refactor(core): resolve_url_or_path and resolve_url_or_path_deprecated (#18170) 2023-03-14 01:12:09 +00:00
session.rs refactor(core): resolve_url_or_path and resolve_url_or_path_deprecated (#18170) 2023-03-14 01:12:09 +00:00