Skip to content

Commit

Permalink
Merge pull request rust-lang#36 from kali/master
Browse files Browse the repository at this point in the history
make mz_stream Send
  • Loading branch information
alexcrichton committed Jan 12, 2016
2 parents 1e01345 + a980e70 commit 1e2507e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/stream.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ pub struct Stream<D: Direction> {
_marker: marker::PhantomData<D>,
}

unsafe impl<D: Direction> marker::Send for Stream<D> {}
unsafe impl<D: Direction> marker::Sync for Stream<D> {}

pub enum Compress {}
pub enum Decompress {}

Expand Down

0 comments on commit 1e2507e

Please sign in to comment.