1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-21 15:04:11 -05:00
denoland-deno/cli/cache
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
..
check.rs chore: upgrade to Rust 1.67 (#17548) 2023-01-27 10:43:16 -05:00
common.rs chore: update copyright year to 2023 (#17247) 2023-01-02 21:00:42 +00:00
deno_dir.rs chore: use rustfmt imports_granularity option (#17421) 2023-01-14 23:18:58 -05:00
disk_cache.rs chore: upgrade to Rust 1.67 (#17548) 2023-01-27 10:43:16 -05:00
emit.rs chore: upgrade to Rust 1.67 (#17548) 2023-01-27 10:43:16 -05:00
http_cache.rs chore: upgrade to Rust 1.67 (#17548) 2023-01-27 10:43:16 -05:00
incremental.rs chore: upgrade to Rust 1.67 (#17548) 2023-01-27 10:43:16 -05:00
mod.rs refactor: remove usages of map_or / map_or_else (#18212) 2023-03-15 17:46:36 -04:00
node.rs refactor: reland "preserve ProcState::file_fetcher between restarts" (#17636) 2023-02-03 20:15:16 +01:00
parsed_source.rs refactor: use deno_graph for npm specifiers (#17858) 2023-02-22 14:15:25 -05:00