Remove outdated TODO.

This commit is contained in:
Tom Alexander 2020-06-13 15:33:21 -04:00
parent 03ff75b2de
commit 02bcefb75c
Signed by: talexander
GPG Key ID: D3A179C9A53C0EDE

View File

@ -274,7 +274,6 @@ impl Renderable for serde_json::Value {
serde_json::Value::Number(num) => Ok(num.to_string()),
serde_json::Value::String(string) => Ok(string.to_string()),
serde_json::Value::Array(arr) => {
// TODO: Handle the filters instead of passing a Vec::new()
let rendered: Result<Vec<String>, RenderError> =
arr.iter().map(|val| val.render(&Vec::new())).collect();
let rendered_slice: &[String] = &rendered?;