mirror of
https://github.com/emilk/egui.git
synced 2026-08-29 04:40:03 -04:00
Apply nightly clippy suggestions/fixes (#7794)
* Reduce the diff for https://github.com/emilk/egui/pull/7793
This commit is contained in:
@@ -1325,7 +1325,7 @@ impl TableRow<'_, '_> {
|
||||
*self.response = Some(
|
||||
self.response
|
||||
.as_ref()
|
||||
.map_or(response.clone(), |r| r.union(response.clone())),
|
||||
.map_or_else(|| response.clone(), |r| r.union(response.clone())),
|
||||
);
|
||||
|
||||
(used_rect, response)
|
||||
|
||||
Reference in New Issue
Block a user