diff options
Diffstat (limited to 'src/file/toml.rs')
-rw-r--r-- | src/file/toml.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/file/toml.rs b/src/file/toml.rs index e3fb0d8..9b07cf0 100644 --- a/src/file/toml.rs +++ b/src/file/toml.rs @@ -10,7 +10,7 @@ pub struct Content { } impl Content { - pub fn parse(text: &str, namespace: Option<&String>) -> Result<Box<Source>, Box<Error>> { + pub fn parse(text: &str, namespace: Option<&String>) -> Result<Box<Source + Send + Sync>, Box<Error>> { // Parse let mut parser = toml::Parser::new(text); // TODO: Get a solution to make this return an Error-able |