first pass of merging in warp (doesn't build)
This commit is contained in:
@@ -1,8 +1,9 @@
|
||||
pub mod parser;
|
||||
|
||||
use parser::{ParsedArgumentResult, ParsedArgumentsIterator};
|
||||
use std::collections::{HashMap, HashSet};
|
||||
|
||||
use parser::{ParsedArgumentResult, ParsedArgumentsIterator};
|
||||
|
||||
pub fn get_arguments(template: &str) -> Vec<String> {
|
||||
let mut char_to_byte: Vec<usize> = template
|
||||
.char_indices()
|
||||
@@ -86,5 +87,5 @@ pub fn render_template(template: &str, context: &HashMap<String, String>) -> Str
|
||||
}
|
||||
|
||||
#[cfg(test)]
|
||||
#[path = "lib_test.rs"]
|
||||
#[path = "lib_tests.rs"]
|
||||
mod tests;
|
||||
|
||||
Reference in New Issue
Block a user