summaryrefslogtreecommitdiffstats
path: root/src/file/source/string.rs
diff options
context:
space:
mode:
authorFederico Pasqua <federico.pasqua.96@gmail.com>2020-03-14 15:46:36 +0100
committerFederico Pasqua <federico.pasqua.96@gmail.com>2020-03-14 16:01:54 +0100
commit57fb2610ad274dff1d2f2e4d43dfce05ca9c4835 (patch)
tree45e4c5c57df0eea23e8977de0984965d9a8a56b4 /src/file/source/string.rs
parent2c0b201055be60ec45e258adcc6c4b6e01bcd627 (diff)
General upgrade for clippy fix and remove of deprecated methods for errors
Diffstat (limited to 'src/file/source/string.rs')
-rw-r--r--src/file/source/string.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/file/source/string.rs b/src/file/source/string.rs
index a2f66cb..3896cce 100644
--- a/src/file/source/string.rs
+++ b/src/file/source/string.rs
@@ -19,7 +19,7 @@ impl FileSource for FileSourceString {
fn resolve(
&self,
format_hint: Option<FileFormat>,
- ) -> Result<(Option<String>, String, FileFormat), Box<Error + Send + Sync>> {
+ ) -> Result<(Option<String>, String, FileFormat), Box<dyn Error + Send + Sync>> {
Ok((
None,
self.0.clone(),