]> git.lizzy.rs Git - rust.git/commit
std: Switch string::ParseError to an empty enum
authorAlex Crichton <alex@alexcrichton.com>
Thu, 24 Sep 2015 16:40:50 +0000 (09:40 -0700)
committerAlex Crichton <alex@alexcrichton.com>
Thu, 24 Sep 2015 16:40:50 +0000 (09:40 -0700)
commit81f0bf76672e2f4d30470920e62dc3cfe70bec6c
tree467450860ac471c1f8eebd0e58251d84a3c1c23d
parent8fe79bdfdacb2f5914971bd1a0b63b9577afbf6a
std: Switch string::ParseError to an empty enum

It can never be instantiated, so signify this by having it actually be an empty
`enum`.

cc #27734
src/libcollections/string.rs