Skip to content

Commit 905d8d1

Browse files
committed
bootspec: move modules to the top
1 parent d4107b7 commit 905d8d1

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

bootspec/src/lib.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
mod deser;
2+
pub mod generation;
3+
pub mod v1;
4+
15
use std::collections::HashMap;
26
use std::error::Error;
37
use std::fmt;
@@ -7,10 +11,6 @@ use serde::{Deserialize, Serialize};
711

812
use crate::generation::Generation;
913

10-
mod deser;
11-
pub mod generation;
12-
pub mod v1;
13-
1414
#[doc(hidden)]
1515
pub type Result<T, E = Box<dyn Error + Send + Sync + 'static>> = core::result::Result<T, E>;
1616

0 commit comments

Comments
 (0)