From ab3ada0914080eb6edb03d67078ec7d0c0e95abd Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Sat, 5 Dec 2015 16:03:05 +0100 Subject: [PATCH] Move header helpers from module/header/ to module/helpers/ --- src/module/bm/header.rs | 2 +- src/module/{ => helpers}/header/mod.rs | 0 src/module/{ => helpers}/header/tags.rs | 0 src/module/helpers/mod.rs | 1 + src/module/mod.rs | 2 +- 5 files changed, 3 insertions(+), 2 deletions(-) rename src/module/{ => helpers}/header/mod.rs (100%) rename src/module/{ => helpers}/header/tags.rs (100%) create mode 100644 src/module/helpers/mod.rs diff --git a/src/module/bm/header.rs b/src/module/bm/header.rs index 68ed1173..c25199aa 100644 --- a/src/module/bm/header.rs +++ b/src/module/bm/header.rs @@ -1,4 +1,4 @@ -use module::header as headerhelpers; +use module::helpers::header as headerhelpers; use storage::file::FileHeaderData as FHD; use storage::file::FileHeaderSpec as FHS; diff --git a/src/module/header/mod.rs b/src/module/helpers/header/mod.rs similarity index 100% rename from src/module/header/mod.rs rename to src/module/helpers/header/mod.rs diff --git a/src/module/header/tags.rs b/src/module/helpers/header/tags.rs similarity index 100% rename from src/module/header/tags.rs rename to src/module/helpers/header/tags.rs diff --git a/src/module/helpers/mod.rs b/src/module/helpers/mod.rs new file mode 100644 index 00000000..f505d688 --- /dev/null +++ b/src/module/helpers/mod.rs @@ -0,0 +1 @@ +pub mod header; diff --git a/src/module/mod.rs b/src/module/mod.rs index e5b875f1..a3cd4eaf 100644 --- a/src/module/mod.rs +++ b/src/module/mod.rs @@ -10,7 +10,7 @@ use runtime::Runtime; use storage::backend::StorageBackend; pub mod bm; -pub mod header; +pub mod helpers; #[derive(Debug)] pub struct ModuleError {