Skip to content

Conversation

emberian
Copy link
Contributor

These are super boring. I can add tests if really desired, but they'd be long
and even more boring than the methods.

/// Check if the character is a letter (a-z, A-Z)
#[inline]
pub fn is_alpha(&self) -> bool {
(self.chr >= 0x41 && self.char <= 0x5A) || (self.chr >= 0x61 && self.chr <= 0x7A)
Copy link
Member

Choose a reason for hiding this comment

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

s/char/chr/

bors added a commit that referenced this pull request Nov 23, 2013
These are super boring. I can add tests if really desired, but they'd be long
and even more boring than the methods.
@bors bors closed this Nov 24, 2013
@bors bors merged commit 09af9d4 into rust-lang:master Nov 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