Skip to content

Commit

Permalink
Fix typos in comments
Browse files Browse the repository at this point in the history
  • Loading branch information
yuri91 committed Nov 20, 2018
1 parent fcd5f02 commit bcb3f08
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ pub struct ReceiveClient {
inner: Arc<UnsafeClient>,
}

/// SAFE because the send method can be called by any threads
/// SAFE because the send method can be called by any thread
unsafe impl Send for SendClient{}
/// SAFE because the send method can be called by multiple threads at the same time
unsafe impl Sync for SendClient{}
Expand All @@ -155,7 +155,7 @@ impl SendClient {
}
}

/// SAFE because the send method can be called by any threads
/// SAFE because the receive method can be called by any thread
unsafe impl Send for ReceiveClient{}
impl ReceiveClient {
pub fn receive<'a>(&'a mut self, timeout: Duration) -> Option<&'a str> {
Expand Down

0 comments on commit bcb3f08

Please sign in to comment.