diff options
author | Jascha <Jascha-N@users.noreply.github.com> | 2017-06-23 14:12:47 +0200 |
---|---|---|
committer | Jascha <Jascha-N@users.noreply.github.com> | 2017-06-23 14:12:47 +0200 |
commit | 6c1d3807560dd2d177096118f8cce03933511685 (patch) | |
tree | cadd5bdf6f9aaa4397b9310f0de1e84782c6abc9 /src/file/format/mod.rs | |
parent | f4fad94a58c2eef5e1e49b4f2b150eac0efbd360 (diff) |
Make boxed errors Send + Sync
Diffstat (limited to 'src/file/format/mod.rs')
-rw-r--r-- | src/file/format/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/file/format/mod.rs b/src/file/format/mod.rs index b3cf279..5aa1acb 100644 --- a/src/file/format/mod.rs +++ b/src/file/format/mod.rs @@ -66,7 +66,7 @@ impl FileFormat { pub fn parse(&self, uri: Option<&String>, text: &str) - -> Result<HashMap<String, Value>, Box<Error>> { + -> Result<HashMap<String, Value>, Box<Error + Send + Sync>> { match *self { #[cfg(feature = "toml")] FileFormat::Toml => toml::parse(uri, text), |