Skip to content

doc(unstable-book): fix typo "earier" -> "earlier" in default-visibility flag#158311

Open
Dodothereal wants to merge 1 commit into
rust-lang:mainfrom
Dodothereal:fix/unstable-book-default-visibility-earier-typo
Open

doc(unstable-book): fix typo "earier" -> "earlier" in default-visibility flag#158311
Dodothereal wants to merge 1 commit into
rust-lang:mainfrom
Dodothereal:fix/unstable-book-default-visibility-earier-typo

Conversation

@Dodothereal

Copy link
Copy Markdown

Summary

Fix a small typo (earierearlier) in the unstable-book documentation for the -Zdefault-visibility flag.

This is detected by the project's typos configuration (./x test tidy --extra-checks=spellcheck) and would emit a CI warning on the next run.

Diff

-using `-Zdefault-visibility=interposable` will cause symbols to be emitted with "default"
-visibility. On platforms that support it, this makes it so that symbols can be interposed, which
-means that they can be overridden by symbols with the same name from the executable or by other
-shared objects earier in the load order.
+using `-Zdefault-visibility=interposable` will cause symbols to be emitted with "default"
+visibility. On platforms that support it, this makes it so that symbols can be interposed, which
+means that they can be overridden by symbols with the same name from the executable or by other
+shared objects earlier in the load order.

AI assistance

This patch was drafted with the help of an AI coding assistant, then reviewed line-by-line before submission. This is the only change in the diff.

…ity.md

The sentence in `src/doc/unstable-book/src/compiler-flags/default-visibility.md`
contained the misspelling "earier" where "earlier" was meant.

```
-shared objects earier in the load order.
+shared objects earlier in the load order.
```

This is detected by the project's typos configuration; `./x test tidy
--extra-checks=spellcheck` would flag it on the next run.

Signed-off-by: Dodothereal <129273127+Dodothereal@users.noreply.github.com>
@rustbot rustbot added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Jun 23, 2026
@rustbot

rustbot commented Jun 23, 2026

Copy link
Copy Markdown
Collaborator

Thanks for the pull request, and welcome! The Rust Project is excited to review your changes, and you should hear from @wesleywiser (or someone else) some time within the next two weeks.

Please see the contribution instructions for more information. Namely, in order to ensure the minimum review times lag, PR authors and assigned reviewers should ensure that the review label (S-waiting-on-review and S-waiting-on-author) stays updated, invoking these commands when appropriate:

  • @rustbot author: the review is finished, PR author should check the comments and take action accordingly
  • @rustbot review: the author is ready for a review, this PR will be queued again in the reviewer's queue
Why was this reviewer chosen?

The reviewer was selected based on:

  • Owners of files modified in this PR: compiler
  • compiler expanded to 73 candidates
  • Random selection from 21 candidates

@Dodothereal

Copy link
Copy Markdown
Author

Hi @wesleywiser — this is a trivial typo fix ("earier" -> "earlier") in the unstable-book page for default-visibility. Since it touches only markdown in src/doc, no CLI impact. Happy to adjust phrasing or PR description if needed. Otherwise, please review whenever convenient.

@wesleywiser

Copy link
Copy Markdown
Member

@bors r+ rollup

@rust-bors

rust-bors Bot commented Jun 24, 2026

Copy link
Copy Markdown
Contributor

📌 Commit c247067 has been approved by wesleywiser

It is now in the queue for this repository.

@rust-bors rust-bors Bot 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 Jun 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

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.

3 participants