Skip to content

Commit e6e9e32

Browse files
committed
style(utils): put the mod declarations below the imports
1 parent af0fa64 commit e6e9e32

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

src/utils/mod.rs

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,4 @@
11
//! Utility functions for Rustup
2-
pub(crate) mod notifications;
3-
pub(crate) mod notify;
4-
pub mod raw;
5-
pub(crate) mod units;
62
73
use std::env;
84
use std::fs::{self, File};
@@ -25,6 +21,11 @@ pub(crate) use crate::utils::raw::find_cmd;
2521
pub use crate::utils::raw::{is_file, path_exists};
2622
pub(crate) use crate::utils::{notifications::Notification, raw::is_directory};
2723

24+
pub(crate) mod notifications;
25+
pub(crate) mod notify;
26+
pub mod raw;
27+
pub(crate) mod units;
28+
2829
#[must_use]
2930
#[derive(Debug, PartialEq, Eq)]
3031
pub struct ExitCode(pub i32);

0 commit comments

Comments
 (0)