Skip to content

Commit

Permalink
[#16] implements Send for COMPort
Browse files Browse the repository at this point in the history
  • Loading branch information
apoloval authored and dcuddeback committed May 12, 2016
1 parent 73534be commit 45e409e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/windows/com.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ pub struct COMPort {
timeout: Duration
}

unsafe impl Send for COMPort {}

impl COMPort {
/// Opens a COM port as a serial device.
///
Expand Down

0 comments on commit 45e409e

Please sign in to comment.