Skip to content

Rollup of 7 pull requests #102192

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

Merged
merged 23 commits into from
Sep 23, 2022
Merged
Changes from 1 commit
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
b4fdc58
Add missing documentation for `bool::from_str`
GuillaumeGomez Sep 21, 2022
758ca9d
Add examples to `bool::then` and `bool::then_some`
vcfxb Sep 21, 2022
804cd84
Remove trailing whitespace
vcfxb Sep 22, 2022
ca26dec
Add missing assertion
vcfxb Sep 22, 2022
a9e657d
don't convert valtree to constvalue during normalization
b-naber Sep 22, 2022
7927f09
add regression test for miri issue 2433
RalfJung Sep 22, 2022
a7cdfaf
make Miri build in stage 0
RalfJung Sep 22, 2022
dedf6fc
rustdoc: clean up CSS/DOM for deprecation warnings
notriddle Sep 22, 2022
51f335d
rustdoc: fix unit tests
notriddle Sep 22, 2022
7bfbaa3
Detect panic strategy using `rustc --print cfg`
flba-eb Sep 22, 2022
0b0027f
Restore ignore tag
flba-eb Sep 22, 2022
10f3657
Adapt test results
flba-eb Sep 22, 2022
0be3cc8
ignore test cases when checking emscripten
flba-eb Sep 23, 2022
ccd19c7
Repair stderr test result to added line
flba-eb Sep 23, 2022
a0eb467
Fix a typo in `std`'s root docs
inquisitivecrystal Sep 23, 2022
ded3eda
fix test
b-naber Sep 23, 2022
986fc4b
Rollup merge of #102094 - GuillaumeGomez:bool-from-str-missing-docs, …
matthiaskrgr Sep 23, 2022
6b001f3
Rollup merge of #102115 - Alfriadox:master, r=thomcc
matthiaskrgr Sep 23, 2022
3de0d67
Rollup merge of #102134 - flba-eb:master, r=bjorn3
matthiaskrgr Sep 23, 2022
3a8bad9
Rollup merge of #102137 - b-naber:lazy-const-val-conversion, r=lcnr
matthiaskrgr Sep 23, 2022
0d01869
Rollup merge of #102148 - RalfJung:miri-test, r=oli-obk
matthiaskrgr Sep 23, 2022
6d6d89b
Rollup merge of #102158 - notriddle:notriddle/stab-p, r=GuillaumeGomez
matthiaskrgr Sep 23, 2022
dfe045a
Rollup merge of #102177 - inquisitivecrystal:std-doc-typo, r=Dylan-DPC
matthiaskrgr Sep 23, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Add missing documentation for bool::from_str
  • Loading branch information
GuillaumeGomez committed Sep 21, 2022
commit b4fdc5861d46dc9204a8a4a51fa287360090ec3c
4 changes: 2 additions & 2 deletions library/core/src/str/traits.rs
Original file line number Diff line number Diff line change
Expand Up @@ -573,8 +573,8 @@ impl FromStr for bool {

/// Parse a `bool` from a string.
///
/// Yields a `Result<bool, ParseBoolError>`, because `s` may or may not
/// actually be parseable.
/// The only accepted values are `"true"` and `"false"`. Any other input
/// will return an error.
///
/// # Examples
///
Expand Down