graydon/rust — pull request #1103 by mbrubeck (2011-10-30 05:23:41+00:00)
Title: 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'.

See issue #1089 for more discussion.