Skip to content

Obsolete text in documentation about main and Result #51572

Closed
@Sgeo

Description

@Sgeo

Note that you cannot use the ? operator in functions that do not return a Result<T, E> (e.g. main).

https://doc.rust-lang.org/std/io/index.html

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-docsArea: Documentation for any part of the project, including the compiler, standard library, and tools

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions