from_strs should return option::t<T> #1335

erickt opened this Issue Dec 19, 2011 · 0 comments

2 participants


Since from_str functions will be mainly used to parse user input, they should return optional types instead of failing on malformed input.

@marijnh marijnh added a commit that closed this issue Feb 22, 2012
@marijnh marijnh Make the various from_str functions return options
So that they can be used with user input without causing task

Closes #1335
@marijnh marijnh closed this in ffd50b9 Feb 22, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment