Skip to content

Guide: Some Nitpicking #17191

Closed
Closed
@mitsuhiko

Description

@mitsuhiko
  • The ok() documentation in the read_line example is not just inaccurate, it's misleading and wrong. .ok() does not abort the program, it returns an option. Maybe it needs to have an option section before to explain that type.
  • the random number code uses % to make random numbers. This is a bad idea and generally guides are something people copy out of, so I would propose not bringing an antipattern into the mix.

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