diff options
author | Ryan Leckey <leckey.ryan@gmail.com> | 2017-02-12 11:04:30 -0800 |
---|---|---|
committer | Ryan Leckey <leckey.ryan@gmail.com> | 2017-02-12 11:04:30 -0800 |
commit | e29748b255ce97dfe9b4efcfbc4d9bcb3d694b97 (patch) | |
tree | 1b544db4cee3b392463edda743c3513c73f73459 /src/source.rs | |
parent | e0fe3e151c24ab81f8d232b3e18841acacc3656e (diff) |
Decorate Box<Source> with Send + Sync
Diffstat (limited to 'src/source.rs')
-rw-r--r-- | src/source.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/source.rs b/src/source.rs index e136176..2048791 100644 --- a/src/source.rs +++ b/src/source.rs @@ -8,5 +8,5 @@ pub trait Source { } pub trait SourceBuilder { - fn build(&self) -> Result<Box<Source>, Box<Error>>; + fn build(&self) -> Result<Box<Source + Send + Sync>, Box<Error>>; } |