Skip to main content

is_cfg_test

Function is_cfg_test 

Source
pub fn is_cfg_test(item: &impl HasAttrs) -> bool
Expand description

Checks whether #[cfg(test)] is directly applied to item.