Skip to content

Commit

Permalink
Rustfmt on recent changes to examples
Browse files Browse the repository at this point in the history
  • Loading branch information
elrnv committed Apr 12, 2020
1 parent ea81ffe commit 78b4631
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion druid/examples/ext_event.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@

//! An example of sending commands from another thread.
use instant::Instant;
use std::thread;
use std::time::Duration;
use instant::Instant;

use druid::kurbo::RoundedRect;
use druid::widget::prelude::*;
Expand Down
2 changes: 1 addition & 1 deletion druid/examples/game_of_life.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@

//! Game of life
use instant::Instant;
use std::ops::{Index, IndexMut};
use std::time::Duration;
use instant::Instant;

use druid::widget::prelude::*;
use druid::widget::{Button, Flex, Label, Slider};
Expand Down
2 changes: 1 addition & 1 deletion druid/examples/identity.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@
//! in your `Data` type) but this is an example, and I couldn't think of anything
//! better. ¯\_(ツ)_/¯
use std::time::Duration;
use instant::Instant;
use std::time::Duration;

use druid::kurbo::RoundedRect;
use druid::widget::{Button, CrossAxisAlignment, Flex, WidgetId};
Expand Down
2 changes: 1 addition & 1 deletion druid/examples/timer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@

//! An example of a timer.
use std::time::Duration;
use instant::Instant;
use std::time::Duration;

use druid::kurbo::Line;
use druid::widget::prelude::*;
Expand Down

0 comments on commit 78b4631

Please sign in to comment.