Skip to content

Commit

Permalink
Fix fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
dbr authored and sanbox-irl committed Sep 5, 2021
1 parent 19b2edb commit 15c2826
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions imgui-examples/examples/long_list.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,7 @@ use imgui::*;
mod support;

fn main() {
let lots_of_words: Vec<String> = (0..10000)
.map(|x| format!("Line {}", x).into())
.collect();
let lots_of_words: Vec<String> = (0..10000).map(|x| format!("Line {}", x).into()).collect();

let system = support::init(file!());
system.main_loop(move |_, ui| {
Expand Down

0 comments on commit 15c2826

Please sign in to comment.