Skip to content

Commit 072b2e4

Browse files
committed
Remove a warning in tests
1 parent 31a2026 commit 072b2e4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/fixtures_test.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ fn read_file(path: &str) -> Result<String, io::Error> {
2020
Ok(s.trim_end().to_string())
2121
}
2222

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

0 commit comments

Comments
 (0)