summaryrefslogtreecommitdiffstats
path: root/src/file/format/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/file/format/mod.rs')
-rw-r--r--src/file/format/mod.rs2
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),