From 6c1d3807560dd2d177096118f8cce03933511685 Mon Sep 17 00:00:00 2001 From: Jascha Date: Fri, 23 Jun 2017 14:12:47 +0200 Subject: Make boxed errors Send + Sync --- src/file/format/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/file/format/mod.rs') 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, Box> { + -> Result, Box> { match *self { #[cfg(feature = "toml")] FileFormat::Toml => toml::parse(uri, text), -- cgit v1.2.3