mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-02 01:25:27 +00:00
apply rustfmt
This commit is contained in:
parent
e6e81e846a
commit
f8d938a8af
24 changed files with 253 additions and 611 deletions
|
|
@ -1,22 +1,18 @@
|
|||
#[path = "page/navigation.rs"] mod navigation;
|
||||
#[path = "page/content.rs"] mod content;
|
||||
#[path = "page/content.rs"]
|
||||
mod content;
|
||||
#[path = "page/navigation.rs"]
|
||||
mod navigation;
|
||||
|
||||
use gtk::Box;
|
||||
use gtk::prelude::BoxExt;
|
||||
use gtk::Box;
|
||||
|
||||
pub fn new() -> Box
|
||||
{
|
||||
let page = Box::builder().orientation(
|
||||
gtk::Orientation::Vertical
|
||||
).build();
|
||||
pub fn new() -> Box {
|
||||
let page = Box::builder()
|
||||
.orientation(gtk::Orientation::Vertical)
|
||||
.build();
|
||||
|
||||
page.append(
|
||||
&navigation::new()
|
||||
);
|
||||
page.append(&navigation::new());
|
||||
page.append(&content::new());
|
||||
|
||||
page.append(
|
||||
&content::new()
|
||||
);
|
||||
|
||||
return page;
|
||||
}
|
||||
page
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue