Skip to content

Commit 8481743

Browse files
committed
Reorder modules in main.rs
1 parent bc731fa commit 8481743

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

src/main.rs

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,26 @@
1+
#[rustfmt::skip]
2+
mod build_config;
3+
mod common;
4+
mod config;
5+
mod lossy_text_read;
6+
mod macros;
7+
mod widgets;
8+
19
use std::cell::RefCell;
210
use std::rc::Rc;
311

412
use anyhow::Context;
513
use async_fs::File;
14+
use common::bookmarks_url;
615
use futures::prelude::*;
716
use gtk::gio;
17+
use gtk::prelude::*;
818

919
use crate::common::{
1020
BOOKMARK_FILE_PATH, CONFIG_DIR_PATH, DATA_DIR_PATH, DEFAULT_BOOKMARKS, HISTORY_FILE_PATH,
1121
SETTINGS_FILE_PATH,
1222
};
1323

14-
#[rustfmt::skip]
15-
mod build_config;
16-
mod common;
17-
mod config;
18-
mod lossy_text_read;
19-
mod macros;
20-
mod widgets;
21-
22-
use common::bookmarks_url;
23-
use gtk::prelude::*;
2424
async fn read_config() -> anyhow::Result<config::Config> {
2525
toml::from_str(&async_fs::read_to_string(&*SETTINGS_FILE_PATH).await?)
2626
.context("Reading config file")

0 commit comments

Comments
 (0)