Skip to content

Commit 2f3a9d7

Browse files
committed
Removed the Debug implementation from the __c_anonymous_sigaction_handler as it is already implemented.
1 parent b89de82 commit 2f3a9d7

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

src/unix/mod.rs

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

0 commit comments

Comments
 (0)