The `from_str` function was removed in favor of `.parse()`, so the examples may need to be tweaked now. The section I'm thinking of this this: http://doc.rust-lang.org/book/error-handling.html#handling-errors-with-option-and-result cc @steveklabnik