Skip to content

Add missing doc links in boxed module - #62310

Merged
bors merged 1 commit into
rust-lang:masterfrom
GuillaumeGomez:add-missing-doc-links-boxed
Jul 26, 2019
Merged

Add missing doc links in boxed module#62310
bors merged 1 commit into
rust-lang:masterfrom
GuillaumeGomez:add-missing-doc-links-boxed

Conversation

@GuillaumeGomez

Copy link
Copy Markdown
Member

r? @rust-lang/docs

@rust-highfiverust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Jul 2, 2019
Comment threadsrc/liballoc/boxed.rs Outdated

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this link right? Below it is:

//! [`Box`]: struct.Box.html 

Copy link
Copy Markdown
MemberAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wanted to test if the auto linkage was working but apparently it's not. :'(

Comment threadsrc/liballoc/boxed.rs Outdated

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should be Box<T> here?

@GuillaumeGomezGuillaumeGomezJul 2, 2019

Copy link
Copy Markdown
MemberAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No reason to add the "<T>". Or maybe I missed something?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Copy Markdown
MemberAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah then I'll add it. :)

@GuillaumeGomez
GuillaumeGomezforce-pushed the add-missing-doc-links-boxed branch from 30cab1c to f3a5d91CompareJuly 2, 2019 22:29
@GuillaumeGomez
GuillaumeGomezforce-pushed the add-missing-doc-links-boxed branch from f3a5d91 to 63f2c22CompareJuly 4, 2019 16:23
@QuietMisdreavus

Copy link
Copy Markdown
Contributor

There are still some Boxes without the <T> on lines 56-57. However, that paragraph also runs against the argument i made in #62120 (comment), namely that i fail to see the usefulness of having multiple links to the same type (using the same link name) in the same paragraph.

@GuillaumeGomez

Copy link
Copy Markdown
MemberAuthor

@QuietMisdreavus I answered to you there and I disagree with your point of view. I'll let you answer on the original thread. :)

@hdhoang

Copy link
Copy Markdown
Contributor

ping from triage @Centril, could you take another look at this?

@Centril

Copy link
Copy Markdown
Contributor

r? @Centril@bors r+ rollup (For the same reasons as I noted in #62120 (comment), feel free to unapprove if you disagree.)

@bors

bors commented Jul 26, 2019

Copy link
Copy Markdown
Collaborator

📌 Commit 63f2c22 has been approved by Centril

@borsbors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Jul 26, 2019
Centril added a commit to Centril/rust that referenced this pull request Jul 26, 2019
…s-boxed, r=Centril
Add missing doc links in boxed module
r? @rust-lang/docs
@CentrilCentril mentioned this pull request Jul 26, 2019
Centril added a commit to Centril/rust that referenced this pull request Jul 26, 2019
…s-boxed, r=Centril
Add missing doc links in boxed module
r? @rust-lang/docs
@CentrilCentril mentioned this pull request Jul 26, 2019
bors added a commit that referenced this pull request Jul 26, 2019
Rollup of 22 pull requests
Successful merges:
- #62084 (allow clippy::unreadable_literal in unicode tables)
- #62120 (Add missing type links in documentation)
- #62310 (Add missing doc links in boxed module)
- #62421 (Introduce `as_deref` to Option)
- #62583 (Implement Unpin for all raw pointers)
- #62692 (rustc: precompute the largest Niche and store it in LayoutDetails.)
- #62801 (Remove support for -Zlower-128bit-ops)
- #62828 (Remove vector fadd/fmul reduction workarounds)
- #62862 (code cleanup)
- #62904 (Disable d32 on armv6 hf targets)
- #62907 (Initialize the MSP430 AsmParser)
- #62956 (Implement slow-path for FirstSets::first)
- #62963 (Allow lexer to recover from some homoglyphs)
- #62964 (clarify and unify some type test names)
- #62970 (ci: gate toolstate repo pushes on the TOOLSTATE_PUBLISH envvar)
- #62980 (std: Add more accessors for `Metadata` on Windows)
- #62983 (Remove needless indirection through Rc)
- #62985 (librustc_errors: Support ui-testing flag in annotate-snippet emitter)
- #63002 (error_index_generator should output stdout/stderr when it panics.)
- #63004 (Add test for issue-54062)
- #63007 (ci: debug network failures while downloading awscli from PyPI)
- #63009 (Remove redundant `mut` from variable declaration.)
Failed merges:
r? @ghost
@bors
bors merged commit 63f2c22 into rust-lang:masterJul 26, 2019
@GuillaumeGomez
GuillaumeGomez deleted the add-missing-doc-links-boxed branch July 27, 2019 09:57
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-waiting-on-borsStatus: 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.

6 participants

@GuillaumeGomez@QuietMisdreavus@hdhoang@Centril@bors@rust-highfive