Skip to content

Commit 29a368b

Browse files
committed
platform/windows: Clean up whitespace at end of lines
1 parent 309265a commit 29a368b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/platform/windows/mod.rs

+4-4
Original file line numberDiff line numberDiff line change
@@ -324,7 +324,7 @@ impl WinHandle {
324324
}
325325

326326
enum GetMessageResult {
327-
NoMessage,
327+
NoMessage,
328328
Message(Vec<u8>, Vec<OsOpaqueIpcChannel>, Vec<OsIpcSharedMemory>),
329329
}
330330

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

946-
let bytes_left_for_data = (PIPE_BUFFER_SIZE-MessageHeader::size()) - (oob_size as usize);
946+
let bytes_left_for_data = (PIPE_BUFFER_SIZE-MessageHeader::size()) - (oob_size as usize);
947947
data_len >= bytes_left_for_data
948948
}
949949

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

10991099
self.readers.push(reader);
1100-
1100+
11011101
Ok(set_id)
11021102
}
11031103

@@ -1107,7 +1107,7 @@ impl OsIpcReceiverSet {
11071107

11081108
// the ultimate results
11091109
let mut selection_results = vec![];
1110-
1110+
11111111
// Make a quick first-run check for any closed receivers.
11121112
// This will only happen if we have a receiver that
11131113
// gets added to the Set after it was closed (the

0 commit comments

Comments
 (0)