Skip to main content

disable

Function disable 

Source
pub fn disable(feature: &str) -> bool
Expand description

Mark feature as disabled on the current thread. Returns true if the feature was previously enabled. Mostly useful in tests that want to assert the gate works.