Skip to content

Commit f03df78

Browse files
authored
docs: some minor follow-up to #58253 (#58314)
- indent the numbered list so that it is rendered nicely - add the world age docs to the manual index
1 parent b680b4e commit f03df78

File tree

2 files changed

+10
-9
lines changed

2 files changed

+10
-9
lines changed

doc/make.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -173,6 +173,7 @@ Manual = [
173173
"manual/noteworthy-differences.md",
174174
"manual/unicode-input.md",
175175
"manual/command-line-interface.md",
176+
"manual/worldage.md",
176177
]
177178

178179
BaseDocs = [

doc/src/manual/worldage.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -82,15 +82,15 @@ will raise the current task's world age to the latest global world age, thus mak
8282
(both from the current task and any concurrently executing other tasks) visible. The following statements
8383
raise the current world age:
8484

85-
1. An explicit invocation of `Core.@latestworld`
86-
2. The start of every top-level statement
87-
3. The start of every REPL prompt
88-
4. Any type or struct definition
89-
5. Any method definition
90-
6. Any constant declaration
91-
7. Any global variable declaration (but not a global variable assignment)
92-
8. Any `using`, `import`, `export` or `public` statement
93-
9. Certain other macros like [`@eval`](@ref) (depends on the macro implementation)
85+
1. An explicit invocation of `Core.@latestworld`
86+
2. The start of every top-level statement
87+
3. The start of every REPL prompt
88+
4. Any type or struct definition
89+
5. Any method definition
90+
6. Any constant declaration
91+
7. Any global variable declaration (but not a global variable assignment)
92+
8. Any `using`, `import`, `export` or `public` statement
93+
9. Certain other macros like [`@eval`](@ref) (depends on the macro implementation)
9494

9595
Note, however, that the current task's world age may only ever be permanently incremented at
9696
top level. As a general rule, using any of the above statements in non-top-level scope is a syntax error:

0 commit comments

Comments
 (0)