Make the dust template parser all_consuming.
This commit is contained in:
@@ -33,7 +33,6 @@ pub fn compile_template<'a>(
|
||||
source: &'a str,
|
||||
name: String,
|
||||
) -> Result<CompiledTemplate<'a>, CompileError> {
|
||||
// TODO: Make this all consuming
|
||||
// TODO: This could use better error management
|
||||
let (_remaining, parsed_template) = template(source).expect("Failed to compile template");
|
||||
Ok(CompiledTemplate {
|
||||
|
||||
Reference in New Issue
Block a user