Fix format
This commit is contained in:
parent
108c547078
commit
c8471db60f
1 changed files with 1 additions and 3 deletions
|
@ -7,9 +7,7 @@ fn stub(config: Config, input: String) -> Result<String, String> {
|
||||||
|
|
||||||
pub fn render(config: Config, input: String) -> Result<String, String> {
|
pub fn render(config: Config, input: String) -> Result<String, String> {
|
||||||
let mut rendered_input = input;
|
let mut rendered_input = input;
|
||||||
for renderer in vec![
|
for renderer in vec![stub] {
|
||||||
stub
|
|
||||||
] {
|
|
||||||
rendered_input = try!(renderer(config.clone(), rendered_input));
|
rendered_input = try!(renderer(config.clone(), rendered_input));
|
||||||
}
|
}
|
||||||
return Ok(rendered_input);
|
return Ok(rendered_input);
|
||||||
|
|
Reference in a new issue