Skip to content

FromStr::from_str method doc comment is inaccurate #25250

Closed

Description

@frewsxcv

http://doc.rust-lang.org/1.0.0-beta.4/std/str/trait.FromStr.html#tymethod.from_str

Parses a string s to return an optional value of this type. If the string is ill-formatted, the None is returned.

This description is probably leftover from when from_str returned an Option

Activity

  1. added 2 commits that reference this issue on May 10, 2015
    00f2157
    4e8afd6
  2. added 2 commits that reference this issue on May 11, 2015
    bd764db
    f2c2736
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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