diff options
author | EuAndreh <eu@euandre.org> | 2021-06-04 12:19:00 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2021-06-04 12:19:50 -0300 |
commit | 8b3e3390ba5d166ccf5b9ea8dad648f4d27fb81d (patch) | |
tree | 491f12f767b116e618644c48ad415f1935151fd5 /src | |
parent | Makefile: Use $(NAME) (diff) | |
download | gistatic-8b3e3390ba5d166ccf5b9ea8dad648f4d27fb81d.tar.gz gistatic-8b3e3390ba5d166ccf5b9ea8dad648f4d27fb81d.tar.xz |
src/: Remove subdirectories
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 |