File tree Expand file tree Collapse file tree 2 files changed +2
-5
lines changed Expand file tree Collapse file tree 2 files changed +2
-5
lines changed Original file line number Diff line number Diff line change 1
1
---
2
- refs/heads/master: e670fb484b89dfbdfbee9b91497db61303882d8b
2
+ refs/heads/master: 990a79f097e8e74308bfec6d72dcdbb769a7973b
3
3
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4
4
refs/heads/snap-stage3: 5b3cd3900ceda838f5798c30ab96ceb41f962534
5
5
refs/heads/try: 5204084bd2e46af7cc6e0147430e44dd0d657bbb
Original file line number Diff line number Diff line change @@ -198,10 +198,7 @@ pub trait CharExt {
198
198
impl CharExt for char {
199
199
#[ unstable = "pending integer conventions" ]
200
200
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 ( )
205
202
}
206
203
207
204
#[ unstable = "pending integer conventions" ]
You can’t perform that action at this time.
0 commit comments