diff options
author | Matthias Beyer <mail@beyermatthias.de> | 2016-08-30 11:40:32 +0200 |
---|---|---|
committer | Matthias Beyer <mail@beyermatthias.de> | 2016-08-30 11:40:56 +0200 |
commit | 82f08c6021c87e3d267aaa4634dcf215bb3f66ab (patch) | |
tree | ef0443ac4e9ddda68e22c46b3a48b759b51d525c | |
parent | ec2eb096e773f57167895e7f1e23081c5f08dc82 (diff) |
Remove version argument from module_entry_path_mod!() macro
-rw-r--r-- | libimagbookmark/src/lib.rs | 2 | ||||
-rw-r--r-- | libimagcounter/src/lib.rs | 2 | ||||
-rw-r--r-- | libimagdiary/src/lib.rs | 2 | ||||
-rw-r--r-- | libimagentrylink/src/lib.rs | 2 | ||||
-rw-r--r-- | libimagnotes/src/lib.rs | 2 | ||||
-rw-r--r-- | libimagref/src/lib.rs | 2 | ||||
-rw-r--r-- | libimagstore/src/storeid.rs | 4 | ||||
-rw-r--r-- | libimagtodo/src/lib.rs | 2 |
8 files changed, 9 insertions, 9 deletions
diff --git a/libimagbookmark/src/lib.rs b/libimagbookmark/src/lib.rs index 5b0a82ef..bc98b061 100644 --- a/libimagbookmark/src/lib.rs +++ b/libimagbookmark/src/lib.rs @@ -21,7 +21,7 @@ extern crate regex; #[macro_use] extern crate libimagerror; extern crate libimagentrylink; -module_entry_path_mod!("bookmark", "0.1.0"); +module_entry_path_mod!("bookmark"); pub mod collection; pub mod error; diff --git a/libimagcounter/src/lib.rs b/libimagcounter/src/lib.rs index 957ac9f9..75340ad6 100644 --- a/libimagcounter/src/lib.rs +++ b/libimagcounter/src/lib.rs @@ -19,7 +19,7 @@ extern crate toml; #[macro_use] extern crate libimagstore; #[macro_use] extern crate libimagerror; -module_entry_path_mod!("counter", "0.2.0"); +module_entry_path_mod!("counter"); pub mod counter; pub mod error; diff --git a/libimagdiary/src/lib.rs b/libimagdiary/src/lib.rs index 1e68ee2e..5af7eb50 100644 --- a/libimagdiary/src/lib.rs +++ b/libimagdiary/src/lib.rs @@ -28,7 +28,7 @@ extern crate itertools; extern crate libimagentryedit; extern crate libimagrt; -module_entry_path_mod!("diary", "0.2.0"); +module_entry_path_mod!("diary"); pub mod config; pub mod error; diff --git a/libimagentrylink/src/lib.rs b/libimagentrylink/src/lib.rs index 1774c8a6..804916fc 100644 --- a/libimagentrylink/src/lib.rs +++ b/libimagentrylink/src/lib.rs @@ -23,7 +23,7 @@ extern crate crypto; #[macro_use] extern crate libimagerror; #[macro_use] extern crate libimagutil; -module_entry_path_mod!("links", "0.2.0"); +module_entry_path_mod!("links"); pub mod error; pub mod external; diff --git a/libimagnotes/src/lib.rs b/libimagnotes/src/lib.rs index a275848e..7abc5eb3 100644 --- a/libimagnotes/src/lib.rs +++ b/libimagnotes/src/lib.rs @@ -24,7 +24,7 @@ extern crate libimagrt; extern crate libimagentryedit; extern crate libimagentrytag; -module_entry_path_mod!("notes", "0.2.0"); +module_entry_path_mod!("notes"); pub mod error; pub mod note; diff --git a/libimagref/src/lib.rs b/libimagref/src/lib.rs index bcdaf36d..fb4814c9 100644 --- a/libimagref/src/lib.rs +++ b/libimagref/src/lib.rs @@ -25,7 +25,7 @@ extern crate walkdir; #[macro_use] extern crate libimagutil; extern crate libimagentrylist; -module_entry_path_mod!("ref", "0.2.0"); +module_entry_path_mod!("ref"); pub mod error; pub mod flags; diff --git a/libimagstore/src/storeid.rs b/libimagstore/src/storeid.rs index be1f2943..e5efdeed 100644 --- a/libimagstore/src/storeid.rs +++ b/libimagstore/src/storeid.rs @@ -129,7 +129,7 @@ impl IntoStoreId for PathBuf { #[macro_export] macro_rules! module_entry_path_mod { - ($name:expr, $version:expr) => ( + ($name:expr) => ( #[deny(missing_docs, missing_copy_implementations, trivial_casts, trivial_numeric_casts, @@ -210,7 +210,7 @@ mod test { use storeid::IntoStoreId; - module_entry_path_mod!("test", "0.2.0-alpha+leet1337"); + module_entry_path_mod!("test"); #[test] fn correct_path() { diff --git a/libimagtodo/src/lib.rs b/libimagtodo/src/lib.rs index 4362446d..3376ac62 100644 --- a/libimagtodo/src/lib.rs +++ b/libimagtodo/src/lib.rs @@ -22,7 +22,7 @@ extern crate serde_json; #[macro_use] extern crate libimagerror; extern crate task_hookrs; -module_entry_path_mod!("todo", "0.1.0"); +module_entry_path_mod!("todo"); pub mod error; pub mod result; |