Fixing warnings

This commit is contained in:
Tom Alexander
2020-04-12 21:57:42 -04:00
parent 883bda7a78
commit 8e4f5e3229
4 changed files with 6 additions and 71 deletions

View File

@@ -74,7 +74,7 @@ fn read_context_from_stdin() -> serde_json::Value {
impl ContextElement for serde_json::Value {}
impl Renderable for serde_json::Value {
fn render(&self, filters: &Vec<Filter>) -> Result<String, RenderError> {
fn render(&self, _filters: &Vec<Filter>) -> Result<String, RenderError> {
match self {
serde_json::Value::Null => Ok("".to_owned()),
serde_json::Value::Bool(boolean) => Ok(boolean.to_string()),