Skip to content

Missing code snippet in the Error Handling guide #28418

Closed
@swatteau

Description

@swatteau

Paragraph 6 of https://doc.rust-lang.org/nightly/book/error-handling.html#the-option-type starts with : "But wait, what about unwrap used in unwrap-double?". The problem is that there is no code sample involving something called unwrap-double. It seems that there is some piece of text missing. Moreover, the presence of a dash in the name is a little dubious.

EDIT: same thing with option-ex-string-find at the beginning of https://doc.rust-lang.org/nightly/book/error-handling.html#composing-option%3Ct%3E-values. I guess there might be other occurences of this problem in the rest of the text.

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