Skip to content

Commit 54d3d8a

Browse files
committed
Non-exhaustive RestartConfig
We added fields twice. We may add them again. You have been warned!
1 parent 6ae1ee8 commit 54d3d8a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,7 @@ const ENV_SYSTEMD_PID: &str = "LISTEN_PID";
8686
const REBIND_SYSTEMD_PID: &str = "auto";
8787

8888
/// Settings for graceful restarts
89+
#[non_exhaustive]
8990
pub struct RestartConfig {
9091
/// Enables the restart coordination socket for graceful restarts as an alternative to a Unix signal.
9192
pub enabled: bool,

0 commit comments

Comments
 (0)