From 250f0f22c0e2e8ff75f7d3d713b96bffac1eed84 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20Hru=C5=A1ka?= Date: Tue, 6 Oct 2020 19:36:59 +0200 Subject: [PATCH] cargo fix --- lib/spanned_sexp/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/spanned_sexp/src/lib.rs b/lib/spanned_sexp/src/lib.rs index d514af7..9bbe758 100644 --- a/lib/spanned_sexp/src/lib.rs +++ b/lib/spanned_sexp/src/lib.rs @@ -53,7 +53,7 @@ pub struct Error { impl error::Error for Error { fn description(&self) -> &str { self.message } - fn cause(&self) -> Option<&error::Error> { None } + fn cause(&self) -> Option<&dyn error::Error> { None } } /// Since errors are the uncommon case, they're boxed. This keeps the size of