Consider variant constructors pure functions for the purpose of purity checking

Closes #1269
This commit is contained in:
Marijn Haverbeke 2011-12-08 10:26:42 +01:00
parent 94b0fee6f1
commit a7c6cb7385
2 changed files with 3 additions and 3 deletions

View file

@ -176,7 +176,6 @@ fn scan_exponent(rdr: reader) -> option::t<str> {
}
fn scan_digits(rdr: reader, radix: uint) -> str {
radix; // FIXME work around issue #1265
let rslt = "";
while true {
let c = rdr.curr();