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 11 pull requests #80449

Merged
merged 24 commits into from
Dec 29, 2020
Merged

Rollup of 11 pull requests #80449

merged 24 commits into from
Dec 29, 2020

Conversation

m-ou-se
Copy link
Member

@m-ou-se m-ou-se commented Dec 28, 2020

Successful merges:

Failed merges:

r? @ghost
@rustbot modify labels: rollup

Create a similar rollup

RalfJung and others added 24 commits December 26, 2020 15:59
This was missed in rust-lang#73845 when switching to use the raw operators.
Fixes rust-lang#80365
Co-authored-by: Joshua Nelson <joshua@yottadb.com>
…=dtolnay

clarify wrapping ptr arithmetic docs

Fixes rust-lang#80306

`@steffahn` please let me know if this helps avoid the misunderstanding. :)
…ark-Simulacrum

BTreeMap: rename the area access methods

r? `@Mark-Simulacrum`
Add links to the source for the rustc and rustdoc books.

This adds a little icon in the upper-right corner of the books so that readers can find the source if they want to make changes or file issues. This is already included in several of the other books.
Use raw version of align_of in rc data_offset

This was missed in rust-lang#73845 when switching to use the raw operators.
Fixes rust-lang#80365
Document `InferTy` & co.

I finally figured out what `TyVid` means! The name is quite opaque, so I
decided to document it and related types.

I don't know that much about `InferTy` & co., but I was able to *infer*
( :) ) from the names and what I know generally about type inference to
add some basic documentation.
fix: small typo error in chalk/mod.rs
rustdoc book: fix example

`lib.rs` file is created only if `--lib` flag is specified
…lcnr

Add regression test for rust-lang#80375

This will also make sure that rust-lang#80375 is handled if rust-lang#79135 has to be reverted (which won't happen 🤞).

Closes rust-lang#80375.
r? `@lcnr`
…veklabnik

Add "length" as doc alias to len methods

Currently when searching for `length` there are no results: https://doc.rust-lang.org/std/?search=length. This makes `len` methods appear when searching for `length`.
…labnik

Add "chr" as doc alias to char::from_u32

Many programming languages provide a function called `chr` - Perl, Python, PHP, Visual Basic, SQL. This change makes `char::from_u32` easier to discover in the documentation.

`ord` is not added as its name conflicts with `Ord` trait, and it's not exactly clear what it could point to (`<u32 as From<char>>::from`?). I don't think it's exactly necessary, as `char::from_u32` documentation page says you can do reverse conversion with `as` operator anyway.
@rustbot rustbot added the rollup A PR which is a rollup label Dec 28, 2020
@m-ou-se
Copy link
Member Author

m-ou-se commented Dec 28, 2020

@bors r+ p=11 rollup=never

@bors
Copy link
Contributor

bors commented Dec 28, 2020

📌 Commit e3d26e0 has been approved by m-ou-se

@bors bors added the S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. label Dec 28, 2020
@bors
Copy link
Contributor

bors commented Dec 29, 2020

⌛ Testing commit e3d26e0 with merge d75f48e...

@bors
Copy link
Contributor

bors commented Dec 29, 2020

☀️ Test successful - checks-actions
Approved by: m-ou-se
Pushing d75f48e to master...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
merged-by-bors This PR was explicitly merged by bors. rollup A PR which is a rollup S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion.
Projects
None yet
Development

Successfully merging this pull request may close these issues.