Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix docs for core::result::Result::map. #14580

Conversation

utkarshkukreti
Copy link
Contributor

reader.read_line() includes trailing newline char, which makes
from_str always return None.

`reader.read_line()` includes trailing newline char, which makes
`from_str` always return `None`.
bors added a commit that referenced this pull request Jun 1, 2014
…=alexcrichton

`reader.read_line()` includes trailing newline char, which makes
`from_str` always return `None`.
@bors bors closed this Jun 1, 2014
bors added a commit to rust-lang-ci/rust that referenced this pull request Jun 5, 2023
…=Veykril

Parse more exclusive range patterns and inline const patterns

Closes rust-lang#13955

This PR
- implements exclusive range pattern without start bound (tracking issue: rust-lang#37854)
  - additionally moves rest pattern handling into the same place since they only differ in whether another pattern follows; this actually solves some FIXMEs
- updates `PATTERN_FIRST` token set to include `const` token so we can parse inline const pattern in nested patterns
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants