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
Show file tree
Hide file tree
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
rustdoc: update noto sans kr
  • Loading branch information
Shinwoo Park committed Oct 11, 2021
commit d2564ce5a9c0e92d02976ba8386cc91880691340
5 changes: 3 additions & 2 deletions src/librustdoc/html/render/write_shared.rs
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,9 @@ static FILES_UNVERSIONED: Lazy<FxHashMap<&str, &[u8]>> = Lazy::new(|| {
"SourceCodePro-Semibold.ttf.woff" => static_files::source_code_pro::SEMIBOLD,
"SourceCodePro-It.ttf.woff" => static_files::source_code_pro::ITALIC,
"SourceCodePro-LICENSE.txt" => static_files::source_code_pro::LICENSE,
"noto-sans-kr-v13-korean-regular.woff" => static_files::noto_sans_kr::REGULAR,
"noto-sans-kr-v13-korean-regular-LICENSE.txt" => static_files::noto_sans_kr::LICENSE,
"noto-sans-kr-regular.woff2" => static_files::noto_sans_kr::REGULAR2,
"noto-sans-kr-regular.woff" => static_files::noto_sans_kr::REGULAR,
"noto-sans-kr-LICENSE.txt" => static_files::noto_sans_kr::LICENSE,
"LICENSE-MIT.txt" => static_files::LICENSE_MIT,
"LICENSE-APACHE.txt" => static_files::LICENSE_APACHE,
"COPYRIGHT.txt" => static_files::COPYRIGHT,
Expand Down
7 changes: 4 additions & 3 deletions src/librustdoc/html/static/css/rustdoc.css
Original file line number Diff line number Diff line change
Expand Up @@ -75,12 +75,13 @@
font-display: swap;
}

/* Avoid using legacy CJK serif fonts in Windows like Batang */
/* Avoid using legacy CJK serif fonts in Windows like Batang. */
@font-face {
font-family: 'Noto Sans KR';
src: url("noto-sans-kr-v13-korean-regular.woff") format("woff");
src: url("noto-sans-kr-regular.woff2") format("woff2"),
url("noto-sans-kr-regular.woff") format("woff");
font-display: swap;
unicode-range: U+A960-A97F, U+AC00-D7AF, U+D7B0-D7FF;
unicode-range: U+AC00-D7AF, U+3130-318F, U+1100-11FF, U+A960-A97F, U+D7B0-D7FF;
}

* {
Expand Down
Binary file not shown.
Binary file not shown.
15 changes: 7 additions & 8 deletions src/librustdoc/html/static_files.rs
Original file line number Diff line number Diff line change
Expand Up @@ -157,15 +157,14 @@ crate mod source_code_pro {
}

crate mod noto_sans_kr {
/// The file `noto-sans-kr-v13-korean-regular.woff`, the Regular variant of the Noto Sans KR
/// font.
crate static REGULAR: &[u8] =
include_bytes!("static/fonts/noto-sans-kr-v13-korean-regular.woff");
/// The file `noto-sans-kr.woff`, the Regular variant of the Noto Sans KR font.
crate static REGULAR: &[u8] = include_bytes!("static/fonts/noto-sans-kr-regular.woff");

/// The file `noto-sans-kr-v13-korean-regular-LICENSE.txt`, the license text of the Noto Sans KR
/// font.
crate static LICENSE: &[u8] =
include_bytes!("static/fonts/noto-sans-kr-v13-korean-regular-LICENSE.txt");
/// The file `noto-sans-kr.woff2`, the Regular variant of the Noto Sans KR font.
crate static REGULAR2: &[u8] = include_bytes!("static/fonts/noto-sans-kr-regular.woff2");

/// The file `noto-sans-kr-LICENSE.txt`, the license text of the Noto Sans KR font.
crate static LICENSE: &[u8] = include_bytes!("static/fonts/noto-sans-kr-LICENSE.txt");
}

/// Files related to the sidebar in rustdoc sources.
Expand Down