Skip to content

unwrap! in docs looks like a macro #29542

Closed
@mstevens

Description

@mstevens

this is totally nitpicky, but:

reading the docs at https://doc.rust-lang.org/stable/book/error-handling.html

it says:

"Why? Because Rust will make us call unwrap! This can give us a nice bird's eye view of how we need to approach error handling."

even in my web browser with "unwrap" colored, this looks really like unwrap! is a macro. Which is confusing for the learner!

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