fn from_str(s: &str) -> Result<Color, ()> {
        match Color::hex_str(s) {
            Some(c) => Ok(c),
            None    => Err(()),
        }
    }
// User can probably see why his color failed to parse on inspection
User can probably see why his color failed to parse on inspection
User can probably see why his color failed to parse on inspection
fn from_str(s: &str) -> Result<Color, ()> {
        match Color::hex_str(s) {
            Some(c) => Ok(c),
            None    => Err(()),
        }
    }
fn from_str ( s : & str ) -> Result < Color , ( ) > { match Color :: hex_str ( s ) { Some ( c ) => Ok ( c ) , None => Err ( ( ) ) , } }
User can probably see why his color failed to parse on inspection
User can probably see why his color failed to parse on inspection
s
&str
s
&str