1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-25 15:29:32 -05:00
denoland-deno/ext
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
..
broadcast_channel chore: forward v1.31.2 release commit to main (#18114) 2023-03-10 17:39:29 +09:00
cache chore: forward v1.31.2 release commit to main (#18114) 2023-03-10 17:39:29 +09:00
console chore: forward v1.31.2 release commit to main (#18114) 2023-03-10 17:39:29 +09:00
crypto fix(ext/node): add crypto.createCipheriv (#18091) 2023-03-14 15:59:23 +09:00
fetch feat(ext/fetch): support fallible request-builder hooks (#18116) 2023-03-13 10:29:05 +00:00
ffi chore: forward v1.31.2 release commit to main (#18114) 2023-03-10 17:39:29 +09:00
flash chore: forward v1.31.2 release commit to main (#18114) 2023-03-10 17:39:29 +09:00
fs refactor: remove usages of map_or / map_or_else (#18212) 2023-03-15 17:46:36 -04:00
http refactor: remove usages of map_or / map_or_else (#18212) 2023-03-15 17:46:36 -04:00
io chore: forward v1.31.2 release commit to main (#18114) 2023-03-10 17:39:29 +09:00
napi chore: forward v1.31.2 release commit to main (#18114) 2023-03-10 17:39:29 +09:00
net chore: forward v1.31.2 release commit to main (#18114) 2023-03-10 17:39:29 +09:00
node refactor: deno_core not using std::env::current_dir (#18173) 2023-03-14 16:47:09 -04:00
tls chore: forward v1.31.2 release commit to main (#18114) 2023-03-10 17:39:29 +09:00
url feat(ext/url): URLSearchParams.size (#17884) 2023-03-14 20:28:33 +00:00
web fix(ext/web): Stop using globalThis.ReadableStream in Blob (#18187) 2023-03-14 15:06:12 +01:00
webgpu refactor: remove usages of map_or / map_or_else (#18212) 2023-03-15 17:46:36 -04:00
webidl chore: forward v1.31.2 release commit to main (#18114) 2023-03-10 17:39:29 +09:00
websocket chore: forward v1.31.2 release commit to main (#18114) 2023-03-10 17:39:29 +09:00
webstorage chore: forward v1.31.2 release commit to main (#18114) 2023-03-10 17:39:29 +09:00