diff options
| author | Matt Brubeck <mbrubeck@limpet.net> | 2011-10-28 16:01:10 -0700 |
|---|---|---|
| committer | Brian Anderson <banderson@mozilla.com> | 2011-10-30 13:40:59 -0700 |
| commit | 8c51d4b002b2743fd50bc715429265aaaf482762 (patch) | |
| tree | 89d9769fbef8d2a1d204aa08e8451752e8abdc21 /src/rt/rust_task.cpp | |
| parent | 0bf10d84e2ec78c129f3fd04ed080d2d2038680f (diff) | |
| download | rust-8c51d4b002b2743fd50bc715429265aaaf482762.tar.gz rust-8c51d4b002b2743fd50bc715429265aaaf482762.zip | |
Make float::from_str ignore whitespace (#1089)
Discard leading and trailing whitespace, for consistency with C/JS/Java/etc. Also, don't allow floating point numbers that start or end with 'e'.
Diffstat (limited to 'src/rt/rust_task.cpp')
0 files changed, 0 insertions, 0 deletions
