Skip to content

doc: Add quote to .init_array - #70145

Merged
bors merged 1 commit into
rust-lang:masterfrom
tesuji:patch-1
Mar 20, 2020
Merged

doc: Add quote to .init_array#70145
bors merged 1 commit into
rust-lang:masterfrom
tesuji:patch-1

Conversation

@tesuji

@tesujitesuji commented Mar 19, 2020

Copy link
Copy Markdown
Contributor

The current formatting is not good without quotes:
without-quote

@rust-highfive

Copy link
Copy Markdown
Contributor

r? @shepmaster

(rust_highfive has picked a reviewer for you, use r? to override)

@rust-highfiverust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Mar 19, 2020
@tesuji

Copy link
Copy Markdown
ContributorAuthor

r? @joshtriplett as reviewer of #66547.

@Dylan-DPC-zz

Copy link
Copy Markdown

Wouldn't it be better to use ` instead of quotes?

@Dylan-DPC-zz

Copy link
Copy Markdown

r? @Dylan-DPC

@tesuji

tesuji commented Mar 19, 2020

Copy link
Copy Markdown
ContributorAuthor

Wouldn't it be better to use ` instead of quotes?

I don't have strong opinion on this. But I vaguely remembered one Rust member
prefer to using " for non code things.

Here the doc after using backtick `: tick

@Dylan-DPC-zz

Copy link
Copy Markdown

@bors r+ rollup

@bors

bors commented Mar 19, 2020

Copy link
Copy Markdown
Collaborator

📌 Commit 2c38ecf has been approved by Dylan-DPC

@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 Mar 19, 2020
@tesuji

Copy link
Copy Markdown
ContributorAuthor

Just to be sure: Currently I still use double quote ("). Is this OK to you?

@Dylan-DPC-zz

Copy link
Copy Markdown

Yes I'm aware. It is fine no worries

Dylan-DPC-zz pushed a commit to Dylan-DPC-zz/rust that referenced this pull request Mar 19, 2020
doc: Add quote to .init_array
The current formatting is not good without quotes:
![without-quote](https://i.imgur.com/RkIm4cr.png)
@JohnTitorJohnTitor mentioned this pull request Mar 20, 2020
bors added a commit to rust-lang-ci/rust that referenced this pull request Mar 20, 2020
Rollup of 9 pull requests
Successful merges:
- rust-lang#69618 (Clarify the relationship between `forget()` and `ManuallyDrop`.)
- rust-lang#69768 (Compute the correct layout for variants of uninhabited enums)
- rust-lang#69935 (codegen/mir: support polymorphic `InstanceDef`s)
- rust-lang#70103 (Clean up E0437 explanation)
- rust-lang#70131 (Add regression test for TAIT lifetime inference (issue rust-lang#55099))
- rust-lang#70133 (remove unused imports)
- rust-lang#70145 (doc: Add quote to .init_array)
- rust-lang#70146 (Clean up e0438 explanation)
- rust-lang#70150 (triagebot.toml: accept cleanup-crew)
Failed merges:
r? @ghost
@bors
bors merged commit d6ebf21 into rust-lang:masterMar 20, 2020
@tesuji
tesuji deleted the patch-1 branch March 21, 2020 01:58
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

@tesuji@rust-highfive@Dylan-DPC-zz@bors@joshtriplett@shepmaster