Skip to content

Commit

Permalink
platform/windows: Clean up whitespace at end of lines
Browse files Browse the repository at this point in the history
  • Loading branch information
antrik committed Aug 16, 2017
1 parent 309265a commit 29a368b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/platform/windows/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -324,7 +324,7 @@ impl WinHandle {
}

enum GetMessageResult {
NoMessage,
NoMessage,
Message(Vec<u8>, Vec<OsOpaqueIpcChannel>, Vec<OsIpcSharedMemory>),
}

Expand Down Expand Up @@ -943,7 +943,7 @@ impl OsIpcSender {
// make sure we don't have too much oob data to begin with
assert!((oob_size as usize) < (PIPE_BUFFER_SIZE-MessageHeader::size()), "too much oob data");

let bytes_left_for_data = (PIPE_BUFFER_SIZE-MessageHeader::size()) - (oob_size as usize);
let bytes_left_for_data = (PIPE_BUFFER_SIZE-MessageHeader::size()) - (oob_size as usize);
data_len >= bytes_left_for_data
}

Expand Down Expand Up @@ -1097,7 +1097,7 @@ impl OsIpcReceiverSet {
win32_trace!("[# {:?}] ReceiverSet add {:?}, id {}", *self.iocp, *reader.handle, set_id);

self.readers.push(reader);

Ok(set_id)
}

Expand All @@ -1107,7 +1107,7 @@ impl OsIpcReceiverSet {

// the ultimate results
let mut selection_results = vec![];

// Make a quick first-run check for any closed receivers.
// This will only happen if we have a receiver that
// gets added to the Set after it was closed (the
Expand Down

0 comments on commit 29a368b

Please sign in to comment.