Skip to content

Commit f5f4dd0

Browse files
committed
---
yaml --- r: 1498 b: refs/heads/master c: 5876da0 h: refs/heads/master v: v3
1 parent d0b3238 commit f5f4dd0

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
---
2-
refs/heads/master: 7ab58db4d02443fdfd68e135224a79fe3a212bda
2+
refs/heads/master: 5876da00cfb78a849211804c820547fadef935f8

trunk/src/comp/front/extfmt.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,6 @@ fn expr_to_str(@ast.expr expr) -> str {
107107

108108
fn parse_fmt_string(str s) -> vec[piece] {
109109
let vec[piece] pieces = vec();
110-
// FIXME: Should be counting codepoints instead of bytes
111110
auto lim = _str.byte_len(s);
112111
auto buf = "";
113112

@@ -151,7 +150,6 @@ fn peek_num(str s, uint i, uint lim) -> option.t[tup(uint, uint)] {
151150
ret none[tup(uint, uint)];
152151
}
153152

154-
// FIXME: Presumably s.(i) will return char eventually
155153
auto c = s.(i);
156154
if (!('0' as u8 <= c && c <= '9' as u8)) {
157155
ret option.none[tup(uint, uint)];

0 commit comments

Comments
 (0)