Skip to content

book: from_str examples are out of date #24185

Closed
@alexcrichton

Description

@alexcrichton

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions