Run rustfmt on the codebase

This commit is contained in:
Tom A. Wagner
2021-01-08 09:58:58 +01:00
parent 4744a1a647
commit 9784b9bae0
2 changed files with 4 additions and 2 deletions

View File

@@ -32,7 +32,9 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {
.expect("Application creation failed");
app.connect_activate(move |app| {
let scrollwindow = gtk::ScrolledWindowBuilder::new().child(&*graphview.borrow()).build();
let scrollwindow = gtk::ScrolledWindowBuilder::new()
.child(&*graphview.borrow())
.build();
let window = gtk::ApplicationWindowBuilder::new()
.application(app)
.default_width(1280)

View File

@@ -10,7 +10,7 @@ impl Port {
Self {
widget: gtk::Button::with_label(name),
id,
direction
direction,
}
}
}