Fixing warnings
This commit is contained in:
@@ -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()),
|
||||
|
||||
Reference in New Issue
Block a user