We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 31a2026 commit 072b2e4Copy full SHA for 072b2e4
tests/fixtures_test.rs
@@ -20,7 +20,7 @@ fn read_file(path: &str) -> Result<String, io::Error> {
20
Ok(s.trim_end().to_string())
21
}
22
23
-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>> {
24
#[derive(Deserialize)]
25
struct Wrapper(#[serde(with = "SnippetDef")] Snippet);
26
0 commit comments