File tree Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Original file line number Diff line number Diff line change 1
1
---
2
- refs/heads/master: f4bc9e6d57c1e005c6539db59762e4030bd7bd2f
2
+ refs/heads/master: 9c383deaa6683e5519ce6727e1d3d152d70e66a0
3
3
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4
4
refs/heads/snap-stage3: 2f46b763da2c098913884f101b6d71d69af41b49
5
5
refs/heads/try: 3d5418789064fdb463e872a4e651af1c628a3650
Original file line number Diff line number Diff line change @@ -264,7 +264,7 @@ pub mod ct {
264
264
}
265
265
pub fn parse_count(s: &str, i: uint, lim: uint)
266
266
-> Parsed<Count> {
267
- return if i >= lim {
267
+ if i >= lim {
268
268
Parsed::new(CountImplied, i)
269
269
} else if s[i] == '*' as u8 {
270
270
let param = parse_parameter(s, i + 1, lim);
@@ -274,15 +274,14 @@ pub mod ct {
274
274
Some(n) => Parsed::new(CountIsParam(n), j)
275
275
}
276
276
} else {
277
- let num = peek_num(s, i, lim);
278
- match num {
277
+ match peek_num(s, i, lim) {
279
278
None => Parsed::new(CountImplied, i),
280
279
Some(num) => Parsed::new(
281
280
CountIs(num.val),
282
281
num.next
283
282
)
284
283
}
285
- };
284
+ }
286
285
}
287
286
pub fn parse_precision(s: &str, i: uint, lim: uint) ->
288
287
Parsed<Count> {
You can’t perform that action at this time.
0 commit comments