1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-25 15:29:32 -05:00
denoland-deno/cli/util
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
..
progress_bar fix(npm): show a progress bar when initializing the node_modules folder (#18136) 2023-03-13 18:18:29 +00:00
checksum.rs chore: upgrade to Rust 1.67 (#17548) 2023-01-27 10:43:16 -05:00
console.rs refactor(runtime): factor out deno_io extension crate (#18001) 2023-03-05 00:39:48 +00:00
diff.rs chore: use rustfmt imports_granularity option (#17421) 2023-01-14 23:18:58 -05:00
display.rs chore: upgrade to Rust 1.67 (#17548) 2023-01-27 10:43:16 -05:00
draw_thread.rs chore: update copyright year to 2023 (#17247) 2023-01-02 21:00:42 +00:00
file_watcher.rs refactor: reland "preserve ProcState::file_fetcher between restarts" (#17636) 2023-02-03 20:15:16 +01:00
fs.rs refactor: remove usages of map_or / map_or_else (#18212) 2023-03-15 17:46:36 -04:00
logger.rs chore: update copyright year to 2023 (#17247) 2023-01-02 21:00:42 +00:00
mod.rs perf: do not depend on iana-time-zone (#18088) 2023-03-15 07:14:22 +00:00
path.rs fix(lsp): avoid calling client while holding lock (#18197) 2023-03-15 14:34:23 +00:00
text_encoding.rs chore: upgrade to Rust 1.67 (#17548) 2023-01-27 10:43:16 -05:00
time.rs perf: do not depend on iana-time-zone (#18088) 2023-03-15 07:14:22 +00:00
unix.rs chore: update copyright year to 2023 (#17247) 2023-01-02 21:00:42 +00:00
v8.rs chore: upgrade to Rust 1.67 (#17548) 2023-01-27 10:43:16 -05:00
windows.rs chore: update copyright year to 2023 (#17247) 2023-01-02 21:00:42 +00:00