summaryrefslogtreecommitdiffstats
path: root/src/env.rs
diff options
context:
space:
mode:
authorRyan Leckey <leckey.ryan@gmail.com>2017-02-12 11:04:30 -0800
committerRyan Leckey <leckey.ryan@gmail.com>2017-02-12 11:04:30 -0800
commite29748b255ce97dfe9b4efcfbc4d9bcb3d694b97 (patch)
tree1b544db4cee3b392463edda743c3513c73f73459 /src/env.rs
parente0fe3e151c24ab81f8d232b3e18841acacc3656e (diff)
Decorate Box<Source> with Send + Sync
Diffstat (limited to 'src/env.rs')
-rw-r--r--src/env.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/env.rs b/src/env.rs
index dd237db..5c80bad 100644
--- a/src/env.rs
+++ b/src/env.rs
@@ -21,7 +21,7 @@ impl Environment {
}
impl source::SourceBuilder for Environment {
- fn build(&self) -> Result<Box<source::Source>, Box<Error>> {
+ fn build(&self) -> Result<Box<source::Source + Send + Sync>, Box<Error>> {
Ok(Box::new(self.clone()))
}
}