File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -20,6 +20,8 @@ This project adheres to [Semantic Versioning](http://semver.org/).
20
20
### Changed
21
21
- The minimum supported version of rustc is now 1.7.0.
22
22
([ #444 ] ( https://github.com/nix-rust/nix/pull/444 ) )
23
+ - Implement ` Send ` for ` KEvent `
24
+ ([ #442 ] ( https://github.com/nix-rust/nix/pull/442 ) )
23
25
- Changed ` KEvent ` to an opaque structure that may only be modified by its
24
26
constructor and the ` ev_set ` method.
25
27
([ #415 ] ( https://github.com/nix-rust/nix/pull/415 ) )
Original file line number Diff line number Diff line change @@ -192,11 +192,9 @@ pub fn kqueue() -> Result<RawFd> {
192
192
}
193
193
194
194
195
- /*
196
- * KEvent can't derive Send because on some operating systems, udata is defined
197
- * as a void*. However, KEvent's public API always treats udata as a uintptr_t,
198
- * which is safe to Send.
199
- */
195
+ // KEvent can't derive Send because on some operating systems, udata is defined
196
+ // as a void*. However, KEvent's public API always treats udata as a uintptr_t,
197
+ // which is safe to Send.
200
198
unsafe impl Send for KEvent {
201
199
}
202
200
You can’t perform that action at this time.
0 commit comments