Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix docs for
core::result::Result::map
.
`reader.read_line()` includes trailing newline char, which makes `from_str` always return `None`.
- Loading branch information
cf4864a
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
saw approval from alexcrichton
at utkarshkukreti@cf4864a
cf4864a
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
merging utkarshkukreti/rust/fix-docs-for-result-map = cf4864a into auto
cf4864a
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
utkarshkukreti/rust/fix-docs-for-result-map = cf4864a merged ok, testing candidate = c605c2b
cf4864a
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
all tests pass:
success: http://buildbot.rust-lang.org/builders/auto-mac-32-opt/builds/6033
success: http://buildbot.rust-lang.org/builders/auto-mac-64-opt/builds/6031
success: http://buildbot.rust-lang.org/builders/auto-mac-64-nopt-c/builds/5127
success: http://buildbot.rust-lang.org/builders/auto-mac-64-nopt-t/builds/5135
success: http://buildbot.rust-lang.org/builders/auto-linux-32-opt/builds/6131
success: http://buildbot.rust-lang.org/builders/auto-linux-32-nopt-c/builds/5219
success: http://buildbot.rust-lang.org/builders/auto-linux-32-nopt-t/builds/5227
success: http://buildbot.rust-lang.org/builders/auto-linux-64-opt/builds/6133
success: http://buildbot.rust-lang.org/builders/auto-linux-64-nopt-c/builds/5218
success: http://buildbot.rust-lang.org/builders/auto-linux-64-nopt-t/builds/5224
success: http://buildbot.rust-lang.org/builders/auto-linux-64-x-android/builds/5284
success: http://buildbot.rust-lang.org/builders/auto-linux-64-x-android-t/builds/3020
success: http://buildbot.rust-lang.org/builders/auto-win-32-opt/builds/6123
success: http://buildbot.rust-lang.org/builders/auto-win-32-nopt-c/builds/5219
success: http://buildbot.rust-lang.org/builders/auto-win-32-nopt-t/builds/5234
cf4864a
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fast-forwarding master to auto = c605c2b