Skip to content

ParseIntError docs should mention other integer parsing functions #143602

@lolbinarycat

Description

@lolbinarycat

Location

https://doc.rust-lang.org/stable/std/num/struct.ParseIntError.html

Summary

Currently it says it is used for parse_str_radix, but it is also used as the FromStr error type.

It will also be used by from_ascii and from_ascii_radix, so ideally the new docs should be worded in a way that is not easily misinterpreted as an exhaustive list.

Metadata

Metadata

Assignees

Labels

A-docsArea: Documentation for any part of the project, including the compiler, standard library, and toolsT-libsRelevant to the library team, which will review and decide on the PR/issue.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions