Skip to content

Commit

Permalink
Use #[rustfmt::skip] on the signal constants.
Browse files Browse the repository at this point in the history
  • Loading branch information
sunfishcode committed Jan 28, 2025
1 parent 8735d2d commit f59230a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/signal.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ pub struct Signal(NonZeroI32);
/// To construct `SIGRTMIN + n` “real-time” signal values, use
/// [`Signal::rt`].
// SAFETY: The libc-defined signal values are all non-zero.
#[rustfmt::skip]
impl Signal {
/// `SIGHUP`
pub const HUP: Self = Self(unsafe { NonZeroI32::new_unchecked(c::SIGHUP) });
Expand Down

0 comments on commit f59230a

Please sign in to comment.