Skip to content

Commit

Permalink
fix(liquid-dbg): Resolve clippy complaints
Browse files Browse the repository at this point in the history
  • Loading branch information
epage committed May 17, 2017
1 parent ef14f87 commit 912f265
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ fn load_yaml(path: &path::Path) -> Result<liquid::Value> {
}

#[cfg(not(feature = "serde_yaml"))]
fn load_yaml(path: &path::Path) -> Result<liquid::Value> {
fn load_yaml(_path: &path::Path) -> Result<liquid::Value> {
bail!("yaml is unsupported");
}

Expand All @@ -54,7 +54,7 @@ fn load_json(path: &path::Path) -> Result<liquid::Value> {
}

#[cfg(not(feature = "serde_json"))]
fn load_json(path: &path::Path) -> Result<liquid::Value> {
fn load_json(_path: &path::Path) -> Result<liquid::Value> {
bail!("json is unsupported");
}

Expand Down

0 comments on commit 912f265

Please # to comment.