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 ec4beb5 commit 1604723Copy full SHA for 1604723
changelog/2326.added.md
@@ -1 +1 @@
1
-make SigAction repr(transparent) & can be converted to/from the libc raw type
+make SigAction repr(transparent) & can be converted to the libc raw type
src/sys/signal.rs
@@ -759,13 +759,6 @@ pub struct SigAction {
759
sigaction: libc::sigaction
760
}
761
762
-impl From<libc::sigaction> for SigAction {
763
- fn from(value: libc::sigaction) -> Self {
764
- Self {
765
- sigaction: value
766
- }
767
768
-}
769
impl From<SigAction> for libc::sigaction {
770
fn from(value: SigAction) -> libc::sigaction {
771
value.sigaction
0 commit comments