mirror of
https://github.com/emilk/egui.git
synced 2026-08-31 13:50:04 -04:00
Cleanup: replace std::iter::once(x) with [x]
This commit is contained in:
@@ -615,7 +615,7 @@ impl Painter {
|
||||
crate::profile_scope!("Queue::submit");
|
||||
render_state
|
||||
.queue
|
||||
.submit(user_cmd_bufs.into_iter().chain(std::iter::once(encoded)));
|
||||
.submit(user_cmd_bufs.into_iter().chain([encoded]));
|
||||
};
|
||||
|
||||
let screenshot = if capture {
|
||||
|
||||
Reference in New Issue
Block a user