ignite 0.1.6

ignite serves the role as a "batteries included" addon to stdlib providing useful stuff and higher level functions along with abstractions.
Documentation
1
2
3
4
5
/// Extract the char at a specific location in a string.
#[inline]
pub fn get_char(string: &String, char_loc: usize) -> char {
    string[char_loc..].chars().next().unwrap() // Return the character at the specified index from the String
}