Skip to content

Commit cf39bce

Browse files
committed
Removed the Debug implementation from the __c_anonymous_sigaction_handler as it is already implemented.
1 parent 92b120e commit cf39bce

1 file changed

Lines changed: 0 additions & 8 deletions

File tree

src/unix/mod.rs

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -264,14 +264,6 @@ cfg_if! {
264264
}
265265
}
266266
impl Eq for __c_anonymous_sigaction_handler{}
267-
impl fmt::Debug for __c_anonymous_sigaction_handler {
268-
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result
269-
{
270-
f.debug_struct("sigaction_t")
271-
.field("value", unsafe{ &self.default })
272-
.finish()
273-
}
274-
}
275267
impl hash::Hash for __c_anonymous_sigaction_handler {
276268
fn hash<H: hash::Hasher>(&self, state: &mut H) {
277269
unsafe{ self.default.hash(state) };

0 commit comments

Comments
 (0)