Skip to content

Commit

Permalink
Remove a warning in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
zbraniecki committed Aug 27, 2019
1 parent 31a2026 commit 072b2e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/fixtures_test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ fn read_file(path: &str) -> Result<String, io::Error> {
Ok(s.trim_end().to_string())
}

fn read_fixture<P: AsRef<Path>>(path: P) -> Result<Snippet, Box<Error>> {
fn read_fixture<P: AsRef<Path>>(path: P) -> Result<Snippet, Box<dyn Error>> {
#[derive(Deserialize)]
struct Wrapper(#[serde(with = "SnippetDef")] Snippet);

Expand Down

0 comments on commit 072b2e4

Please sign in to comment.