summaryrefslogtreecommitdiffstats
path: root/src/file/yaml.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/file/yaml.rs')
-rw-r--r--src/file/yaml.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/file/yaml.rs b/src/file/yaml.rs
index 7a70a4e..95a64b4 100644
--- a/src/file/yaml.rs
+++ b/src/file/yaml.rs
@@ -13,7 +13,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>> {
let mut docs = yaml::YamlLoader::load_from_str(text)?;
// Designate root