Skip to content

Commit

Permalink
fix ios test cases
Browse files Browse the repository at this point in the history
  • Loading branch information
flier committed Sep 4, 2018
1 parent 21ada99 commit 5600bd1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/io.rs
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@ bitflags! {
}

/// The type of a dispatch I/O channel.
#[repr(u64)]
#[cfg_attr(target_os = "macos", repr(u64))]
#[cfg_attr(target_os = "ios", repr(u32))]
#[derive(Clone, Copy, Debug, PartialEq)]
pub enum ChannelType {
/// A dispatch I/O channel representing a stream of bytes.
Expand Down
1 change: 0 additions & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -757,7 +757,6 @@ mod tests {

q.sync(|| num = 1);
assert_eq!(num, 1);
assert_eq!(q.qos_class(), (QosClass::Unspecified, 0));

assert_eq!(q.sync(|| num), 1);
}
Expand Down

0 comments on commit 5600bd1

Please sign in to comment.