We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6bd95e4 commit b1144ccCopy full SHA for b1144cc
src/unix/linux_like/linux/gnu/mod.rs
@@ -317,14 +317,19 @@ cfg_if! {
317
if #[cfg(libc_union)] {
318
// Internal, for casts to access union fields
319
#[repr(C)]
320
- #[derive(Copy,Clone)]
321
struct sifields_sigchld {
322
si_pid: ::pid_t,
323
si_uid: ::uid_t,
324
si_status: ::c_int,
325
si_utime: ::c_long,
326
si_stime: ::c_long,
327
}
+ impl ::Copy for sifields_sigchld {}
328
+ impl ::Clone for sifields_sigchld {
329
+ fn clone(&self) -> sifields_sigchld {
330
+ *self
331
+ }
332
333
334
335
0 commit comments