Skip to content

Commit bce33f8

Browse files
committed
---
yaml --- r: 168826 b: refs/heads/snap-stage3 c: 990a79f h: refs/heads/master v: v3
1 parent 0d83a96 commit bce33f8

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
refs/heads/master: 5e21e17d9638d14af41e27e5ca9a21c8a1bc0170
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4-
refs/heads/snap-stage3: e670fb484b89dfbdfbee9b91497db61303882d8b
4+
refs/heads/snap-stage3: 990a79f097e8e74308bfec6d72dcdbb769a7973b
55
refs/heads/try: 5204084bd2e46af7cc6e0147430e44dd0d657bbb
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/dist-snap: ba4081a5a8573875fed17545846f6f6902c8ba8d

branches/snap-stage3/src/libcore/char.rs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -198,10 +198,7 @@ pub trait CharExt {
198198
impl CharExt for char {
199199
#[unstable = "pending integer conventions"]
200200
fn is_digit(self, radix: uint) -> bool {
201-
match self.to_digit(radix) {
202-
Some(_) => true,
203-
None => false,
204-
}
201+
self.to_digit(radix).is_some()
205202
}
206203

207204
#[unstable = "pending integer conventions"]

0 commit comments

Comments
 (0)