()
| 18 | |
| 19 | impl Feature { |
| 20 | pub const fn new() -> Feature { |
| 21 | Feature { |
| 22 | enable: AtomicBool::new(false), |
| 23 | lock_ops: Event::new(), |
| 24 | } |
| 25 | } |
| 26 | |
| 27 | pub fn enable(&self) -> bool { |
| 28 | self.enable.load(Ordering::Relaxed) |
nothing calls this directly
no outgoing calls
no test coverage detected