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

Removed ascii functions from other modules #6029

Merged
merged 2 commits into from
Apr 24, 2013

Conversation

Kimundi
Copy link
Member

@Kimundi Kimundi commented Apr 23, 2013

Replaced {str, char, u8}::is_ascii
Replaced str::to_lower and str::to_upper

let kind = str::to_lower(str::slice(line, start_kind, idx).to_owned());

// FIXME: 4318 Instead of to_str_ascii, could use
// to_str_consume to not do a unneccessary copy.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

typo: unneccessary -> unnecessary

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Urgh, of course that happens in a piece of code I copy pasted at like 10 different places...

@Kimundi
Copy link
Member Author

Kimundi commented Apr 24, 2013

It seems the failure is not caused by a test failure?

bors added a commit that referenced this pull request Apr 24, 2013
Replaced {str, char, u8}::is_ascii
Replaced str::to_lower and str::to_upper
@bors bors closed this Apr 24, 2013
@bors bors merged commit 3759b57 into rust-lang:incoming Apr 24, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants