Skip to content

Unclear example in io::Error #106937

Closed
@jbaublitz

Description

@jbaublitz

Location

The unclear example is located here.

Summary

I originally interpreted this example to mean that constructing an error from a raw error code always resulted in ErrorKind::Uncategorized. I think it might help to be explicit that no error has occurred yet and that is the reason that this shows up as uncategorized.

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