pub fn process_configure_mod(
    sess: &ParseSess,
    cfg_mods: bool,
    attrs: &[Attribute],
) -> (bool, Vec<Attribute>) {
    // Don't perform gated feature checking.
    let mut strip_unconfigured = StripUnconfigured { sess, features: None };
    let mut attrs = attrs.to_owned();
    strip_unconfigured.process_cfg_attrs(&mut attrs);
    (!cfg_mods || strip_unconfigured.in_cfg(&attrs), attrs)
}
/// Process the potential `cfg` attributes on a module.
/// Also determine if the module should be included in this configuration.
Process the potential `cfg` attributes on a module.
Also determine if the module should be included in this configuration.
Process the potential ` cfg ` attributes on a module . Also determine if the module should be included in this configuration .
pub fn process_configure_mod(
    sess: &ParseSess,
    cfg_mods: bool,
    attrs: &[Attribute],
) -> (bool, Vec<Attribute>) {
    // Don't perform gated feature checking.
    let mut strip_unconfigured = StripUnconfigured { sess, features: None };
    let mut attrs = attrs.to_owned();
    strip_unconfigured.process_cfg_attrs(&mut attrs);
    (!cfg_mods || strip_unconfigured.in_cfg(&attrs), attrs)
}
pub fn process_configure_mod ( sess : & ParseSess , cfg_mods : bool , attrs : & [ Attribute ] , ) -> ( bool , Vec < Attribute > ) { // Don't perform gated feature checking. let mut strip_unconfigured = StripUnconfigured { sess , features : None } ; let mut attrs = attrs . to_owned ( ) ; strip_unconfigured . process_cfg_attrs ( & mut attrs ) ; ( ! cfg_mods || strip_unconfigured . in_cfg ( & attrs ) , attrs ) }
Process the potential `cfg` attributes on a module.
Process the potential ` cfg ` attributes on a module .
sess
&ParseSess
cfg_mods
bool
attrs
&[Attribute]