Skip to content

Commit 57d3590

Browse files
Rollup merge of rust-lang#158311 - Dodothereal:fix/unstable-book-default-visibility-earier-typo, r=wesleywiser
doc(unstable-book): fix typo "earier" -> "earlier" in default-visibility flag ## Summary Fix a small typo (`earier` → `earlier`) 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 ```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.
2 parents 5659847 + c247067 commit 57d3590

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/doc/unstable-book/src/compiler-flags/default-visibility.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,4 +41,4 @@ building for Linux. Other linkers such as LLD are not affected.
4141
Using `-Zdefault-visibility=interposable` will cause symbols to be emitted with "default"
4242
visibility. On platforms that support it, this makes it so that symbols can be interposed, which
4343
means that they can be overridden by symbols with the same name from the executable or by other
44-
shared objects earier in the load order.
44+
shared objects earlier in the load order.

0 commit comments

Comments
 (0)