Skip to content

Commit 4d619d6

Browse files
committed
Rustfmt on recent changes to examples
1 parent 9345dff commit 4d619d6

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

druid/examples/ext_event.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@
1414

1515
//! An example of sending commands from another thread.
1616
17+
use instant::Instant;
1718
use std::thread;
1819
use std::time::Duration;
19-
use instant::Instant;
2020

2121
use druid::kurbo::RoundedRect;
2222
use druid::widget::prelude::*;

druid/examples/game_of_life.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@
1616

1717
//! Game of life
1818
19+
use instant::Instant;
1920
use std::ops::{Index, IndexMut};
2021
use std::time::Duration;
21-
use instant::Instant;
2222

2323
use druid::widget::prelude::*;
2424
use druid::widget::{Button, Flex, Label, Slider};

druid/examples/identity.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@
2727
//! in your `Data` type) but this is an example, and I couldn't think of anything
2828
//! better. ¯\_(ツ)_/¯
2929
30-
use std::time::Duration;
3130
use instant::Instant;
31+
use std::time::Duration;
3232

3333
use druid::kurbo::RoundedRect;
3434
use druid::widget::{Button, CrossAxisAlignment, Flex, WidgetId};

druid/examples/timer.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@
1414

1515
//! An example of a timer.
1616
17-
use std::time::Duration;
1817
use instant::Instant;
18+
use std::time::Duration;
1919

2020
use druid::kurbo::Line;
2121
use druid::widget::prelude::*;

0 commit comments

Comments
 (0)