aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/lib.rs (renamed from src/lib/lib.rs)4
-rw-r--r--src/main.rs (renamed from src/cli/main.rs)0
2 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/lib.rs b/src/lib.rs
index 311a11f..2bd4a2e 100644
--- a/src/lib/lib.rs
+++ b/src/lib.rs
@@ -1,8 +1,8 @@
-const t: &'static str = include_str!("../templates/log.html");
+const LOG: &'static str = include_str!("templates/log.html");
pub fn a_fn() -> i32 {
// println!("log.html.tmpl: {}", t);
- let template = mustache::compile_str(t).unwrap();
+ let template = mustache::compile_str(LOG).unwrap();
let _data = mustache::MapBuilder::new()
.insert_str("name", "Venus")
.build();
diff --git a/src/cli/main.rs b/src/main.rs
index cdb964d..cdb964d 100644
--- a/src/cli/main.rs
+++ b/src/main.rs