]> git.lizzy.rs Git - rust.git/commit
Merge #2217
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>
Tue, 12 Nov 2019 15:30:36 +0000 (15:30 +0000)
committerGitHub <noreply@github.com>
Tue, 12 Nov 2019 15:30:36 +0000 (15:30 +0000)
commit2549be750e4c611a582bc0845b1da71e131f1118
treefec19f32a3b9dd7ced95281b291674ed7ee3a4cd
parent55f3ff241a2105d2903266703474acbd24a85e84
parentdae087656abf5d120cd9c051bf4fc446fca101e1
Merge #2217

2217: Implement FromStr for enum Edition r=matklad a=clemarescx

Just did this as I came across the comment in the code asking for implementing `std::str::FromStr` for `input::Edition`.
Not sure what was meant by "proper error handling" though, `panic!` with a descriptive message might not be it :sweat_smile:

Co-authored-by: Metabaron <metabaron@tuta.io>