pub fn fetch_flags() -> HashMap<&'static str, &'static gflags::registry::Flag> {
    let mut flags: HashMap<&'static str, &gflags::registry::Flag> = HashMap::new();

    // The registry doesn't provide methods to fetch individual entries, just
    // an iterator, so create a map of flags keyed by flag name
    for flag in gflags::inventory::iter::<gflags::registry::Flag> {
        flags.insert(flag.name, flag);
    }

    flags
}
/// Fetch flag definitions from the registry and return them as a `HashSet`
/// so individual flags can be checked.
Fetch flag definitions from the registry and return them as a `HashSet`
so individual flags can be checked.
Fetch flag definitions from the registry and return them as a ` HashSet ` so individual flags can be checked .
pub fn fetch_flags() -> HashMap<&'static str, &'static gflags::registry::Flag> {
    let mut flags: HashMap<&'static str, &gflags::registry::Flag> = HashMap::new();
    // The registry doesn't provide methods to fetch individual entries, just
    // an iterator, so create a map of flags keyed by flag name
    for flag in gflags::inventory::iter::<gflags::registry::Flag> {
        flags.insert(flag.name, flag);
    }
    flags
}
pub fn fetch_flags ( ) -> HashMap < & ' static str , & ' static gflags :: registry :: Flag > { let mut flags : HashMap < & ' static str , & gflags :: registry :: Flag > = HashMap :: new ( ) ; // The registry doesn't provide methods to fetch individual entries, just // an iterator, so create a map of flags keyed by flag name for flag in gflags :: inventory :: iter :: < gflags :: registry :: Flag > { flags . insert ( flag . name , flag ) ; } flags }
Fetch flag definitions from the registry and return them as a `HashSet`
so individual flags can be checked.
Fetch flag definitions from the registry and return them as a ` HashSet ` so individual flags can be checked .