Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix compile error resulting from outdated to_lower usage. #4

Merged
merged 1 commit into from May 1, 2013
Merged
Changes from all commits
Commits
File filter...
Filter file types
Jump to…
Jump to file
Failed to load files.

Always

Just for now

Fix compile error resulting from outdated to_lower usage.

  • Loading branch information
Josh Aas
Josh Aas committed Apr 30, 2013
commit a560ffe63ba8140a9a02bbec380f8c193972da0b
@@ -70,7 +70,7 @@ pub mod parsing {

/** Match an exact color keyword. */
fn parse_by_name(color : &str) -> Option<Color> {
let col = match color.to_lower() {
let col = match color.to_ascii().to_lower().to_str() {
~"black" => black(),
~"silver" => silver(),
~"gray" => gray(),
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.