Fix format

This commit is contained in:
Jake Howard 2017-08-15 22:47:39 +01:00
parent 108c547078
commit c8471db60f
Signed by: jake
GPG key ID: 57AFB45680EDD477

View file

@ -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);