bevy/crates/bevy_picking/src
ickshonpe 7a5a734452
Replace map + unwrap_or(false) with is_some_and (#17067)
# Objective

The `my_option.map(|inner| inner.is_whatever).unwrap_or(false)` pattern
is fragile and ugly.

Replace it with `is_some_and` everywhere.
2024-12-31 20:28:02 +00:00
..
mesh_picking Replace map + unwrap_or(true) with is_none_or (#17070) 2024-12-31 20:17:03 +00:00
backend.rs Rust 1.83, allow -> expect (missing_docs) (#16561) 2024-12-16 23:27:57 +00:00
events.rs Update picking::events module docs (#17055) 2024-12-31 00:46:15 +00:00
hover.rs Simplify sort/max_by calls (#17048) 2024-12-30 22:59:36 +00:00
input.rs Rename Pointer<Down/Up> -> Pointer<Pressed/Released> in bevy_picking. (#16331) 2024-12-10 02:20:48 +00:00
lib.rs Update picking docs (#17057) 2024-12-31 01:56:45 +00:00
pointer.rs Replace map + unwrap_or(false) with is_some_and (#17067) 2024-12-31 20:28:02 +00:00
window.rs Window picking (#16103) 2024-12-05 21:14:39 +00:00