File tree Expand file tree Collapse file tree 2 files changed +4
-5
lines changed
branches/dist-snap/src/libcore Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
7
7
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
8
8
refs/heads/try2: 147ecfdd8221e4a4d4e090486829a06da1e0ca3c
9
9
refs/heads/incoming: 44d4d6de762f3f9aae1fedcf454c66b79b3ad58d
10
- refs/heads/dist-snap: f4bc9e6d57c1e005c6539db59762e4030bd7bd2f
10
+ refs/heads/dist-snap: 9c383deaa6683e5519ce6727e1d3d152d70e66a0
11
11
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596
12
12
refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503
13
13
refs/heads/try3: 9387340aab40a73e8424c48fd42f0c521a4875c0
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