/// Retrieves the section title for a given alias
///
/// # Example
///
/// ```no_run
/// # use clog::Clog;
/// let mut clog = Clog::new().unwrap_or_else(|e| {
///     e.exit();
/// });
///
/// let section = clog.section_for("feat");
/// assert_eq!("Features", section);
/// ```
Retrieves the section title for a given alias
Retrieves the section title for a given alias
pub fn section_for(&self, alias: &str) -> &String {
        self.section_map.iter()
                        .filter(|&(_, v)| v.iter().any(|s| s == alias))
                        .map(|(k, _)| k)
                        .next()
                        .unwrap_or(self.section_map.keys()
                                                   .filter(|&k| k == "Unknown")
                                                   .next()
                                                   .unwrap())
    }
pub fn section_for ( & self , alias : & str ) -> & String { self . section_map . iter ( ) . filter ( | & ( _ , v ) | v . iter ( ) . any ( | s | s == alias ) ) . map ( | ( k , _ ) | k ) . next ( ) . unwrap_or ( self . section_map . keys ( ) . filter ( | & k | k == " " ) . next ( ) . unwrap ( ) ) }
Retrieves the section title for a given alias
Retrieves the section title for a given alias
&self
alias
&str
example
None
use clog::clog;


let section = clog.section_for("feat");
assert_eq!("Features", section);
```
let section = clog . section_for ( " feat " ) ; assert_eq! ( " Features " section ) ; ` ` `