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/).
2020### Changed
2121- The minimum supported version of rustc is now 1.7.0.
2222 ([ #444 ] ( https://github.com/nix-rust/nix/pull/444 ) )
23+ - Implement ` Send ` for ` KEvent `
24+ ([ #442 ] ( https://github.com/nix-rust/nix/pull/442 ) )
2325- Changed ` KEvent ` to an opaque structure that may only be modified by its
2426 constructor and the ` ev_set ` method.
2527 ([ #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> {
192192}
193193
194194
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.
200198unsafe impl Send for KEvent {
201199}
202200
You can’t perform that action at this time.
0 commit comments