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

Rollup of 13 pull requests #89843

Closed
wants to merge 32 commits into from
Closed
Changes from 1 commit
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
58b1a12
Avoid allocations and copying in Vec::leak
mbrubeck Sep 28, 2021
1fca2ce
Additional docs about Vec::leak behavior
mbrubeck Sep 28, 2021
e71d17b
Edit explanation of test for nested type ascriptions
pierwill Oct 11, 2021
e56d89a
Add missing words in `Infallible` docs
Wilfred Oct 11, 2021
d2564ce
rustdoc: update noto sans kr
Oct 11, 2021
0cf84c8
Add #[must_use] to to_value conversions
jkugelman Oct 11, 2021
0767ed3
add some more testcases
hellow554 Oct 11, 2021
7943c9c
Use Option::map_or instead of open coding it
LingMan Oct 12, 2021
129af04
Mention Rust version in Vec::leak docs.
m-ou-se Oct 12, 2021
81eeb3e
Fix uppercase/lowercase error
jkugelman Oct 12, 2021
df15b28
Remove potentially unsound note on reconstructing a leaked Vec.
m-ou-se Oct 12, 2021
e5cfe84
Fix invalid rules in .gitignore
Canop Oct 12, 2021
a6bb1fb
Add #[inline] to int log10 functions.
m-ou-se Oct 12, 2021
7a646df
Add missing entries for overflow-checks to config.toml.example.
hkratz Oct 11, 2021
cfc7782
Add --enable-overflow-checks-std option to configure script.
hkratz Oct 11, 2021
bcf7cf6
Add --enable-debug-assertions-std option to configure script.
hkratz Oct 12, 2021
905ed5f
Make `rust.overflow-checks-std`option default to `rust.overflow-checks`.
hkratz Oct 12, 2021
f819e6d
suggestion for typoed crate or module
TaKO8Ki Sep 29, 2021
31265c6
Assemble the compiler when running `x.py build`
jyn514 Oct 11, 2021
9bb010e
Rollup merge of #89337 - mbrubeck:vec-leak, r=m-ou-se
the8472 Oct 13, 2021
0a998f8
Rollup merge of #89347 - TaKO8Ki:crate-or-module-typo, r=estebank
the8472 Oct 13, 2021
1ed61f5
Rollup merge of #89759 - jyn514:x-build-assemble, r=Mark-Simulacrum
the8472 Oct 13, 2021
0968607
Rollup merge of #89768 - hellow554:tests, r=Mark-Simulacrum
the8472 Oct 13, 2021
1d63deb
Rollup merge of #89777 - pierwill:fix-88233, r=Mark-Simulacrum
the8472 Oct 13, 2021
0b6839f
Rollup merge of #89781 - Wilfred:patch-2, r=JohnTitor
the8472 Oct 13, 2021
8852409
Rollup merge of #89782 - konan8205:develop, r=jsha
the8472 Oct 13, 2021
5a82eb3
Rollup merge of #89794 - jkugelman:must-use-to_value-conversions, r=j…
the8472 Oct 13, 2021
c4749bf
Rollup merge of #89814 - jkugelman:must-use-string-transforms-typo, r…
the8472 Oct 13, 2021
02cdfcc
Rollup merge of #89816 - Canop:master, r=Mark-Simulacrum
the8472 Oct 13, 2021
626dd87
Rollup merge of #89817 - m-ou-se:int-log-10-inline, r=the8472
the8472 Oct 13, 2021
67f3a5f
Rollup merge of #89818 - LingMan:map_or, r=oli-obk
the8472 Oct 13, 2021
c913af6
Rollup merge of #89828 - rusticstuff:overflow-check-options-take-two,…
the8472 Oct 13, 2021
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
Prev Previous commit
Next Next commit
Fix uppercase/lowercase error
  • Loading branch information
jkugelman committed Oct 12, 2021
commit 81eeb3e775128ffb70609b463faa0b554f672d2c
2 changes: 1 addition & 1 deletion library/alloc/src/str.rs
Original file line number Diff line number Diff line change
Expand Up @@ -538,7 +538,7 @@ impl str {
/// [`make_ascii_uppercase`]: str::make_ascii_uppercase
/// [`to_uppercase`]: #method.to_uppercase
#[cfg(not(no_global_oom_handling))]
#[must_use = "to uppercase the value in-place, use `make_ascii_lowercase()`"]
#[must_use = "to uppercase the value in-place, use `make_ascii_uppercase()`"]
#[stable(feature = "ascii_methods_on_intrinsics", since = "1.23.0")]
#[inline]
pub fn to_ascii_uppercase(&self) -> String {
Expand Down