//! The diagnostic switch. It is process-wide, so the assertions here drive it
//! through both positions relative to whatever it was found at and put it back,
//! rather than assuming a starting value.
use crate;
/// The switch hands back what it was before, which is what lets a caller that
/// turned diagnostics on for one call put the setting back as it found it.