aboutsummaryrefslogtreecommitdiff
path: root/src/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/lib.rs (renamed from src/lib/lib.rs)4
1 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();