Skip to content

Commit 32ce32a

Browse files
committed
Format all with rustfmt
1 parent 49571d5 commit 32ce32a

File tree

10 files changed

+997
-787
lines changed

10 files changed

+997
-787
lines changed

ui/examples/basic.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,4 +54,4 @@ fn main() {
5454

5555
// Clean up.
5656
ui::uninit();
57-
}
57+
}

ui/examples/controlgallery.rs

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
33
extern crate ui;
44

5-
use ui::{BoxControl, Button, Checkbox, ColorButton, Combobox, EditableCombobox, DateTimePicker, Entry};
5+
use ui::{BoxControl, Button, Checkbox, ColorButton, Combobox, EditableCombobox, DateTimePicker,
6+
Entry};
67
use ui::{FontButton, Group, InitOptions, Label, Menu, MenuItem, ProgressBar, RadioButtons};
78
use ui::{Separator, Slider, Spinbox, Tab, Window};
89

@@ -138,7 +139,11 @@ fn open_clicked(_: &MenuItem, mainwin: &Window) {
138139
fn save_clicked(_: &MenuItem, mainwin: &Window) {
139140
match ui::open_file(mainwin) {
140141
Some(filename) => {
141-
ui::msg_box(mainwin, "File selected (don't worry, it's still there)", &*filename)
142+
ui::msg_box(
143+
mainwin,
144+
"File selected (don't worry, it's still there)",
145+
&*filename,
146+
)
142147
}
143148
None => ui::msg_box_error(mainwin, "No file selected", "Don't be alarmed!"),
144149
}
@@ -147,4 +152,3 @@ fn save_clicked(_: &MenuItem, mainwin: &Window) {
147152
fn update(_: i64) {
148153
// TODO(pcwalton)
149154
}
150-

0 commit comments

Comments
 (0)