Skip to content

Commit 4e226c8

Browse files
committed
Fix broken links
1 parent 0457c2a commit 4e226c8

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/logging.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ linker script will collect all the symbols in the `.log` sections of input
189189
object files and put them in an output `.log` section. We have seen this pattern
190190
in the [Memory layout] chapter.
191191

192-
[Memory layout]: /memory-layout.html
192+
[Memory layout]: memory-layout.html
193193

194194
The new bit here is the `(INFO)` part; this tells the linker that this section
195195
is a non-allocatable section. Non-allocatable sections are kept in the ELF

src/singleton.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ variable called `LOGGER` to log the message. This variable *is* the global
8383
logger that's defined somewhere else; that's why we use the `extern` block. We
8484
saw this pattern in the [main interface] chapter.
8585

86-
[main interface]: /main.html
86+
[main interface]: main.html
8787

8888
We need to declare a type for `LOGGER` or the code won't type check. We don't
8989
know the concrete type of `LOGGER` at this point but we know, or rather require,
@@ -93,7 +93,7 @@ The rest of the macro expansion looks very similar to the expansion of the local
9393
version of the `log!` macro so I won't explain it here as it's explained in the
9494
[previous] chapter.
9595

96-
[previous]: /logging.html
96+
[previous]: logging.html
9797

9898
Now that we know that `LOGGER` has to be a trait object it's clearer why we
9999
omitted the associated `Error` type in `GlobalLog`. If we had not omitted then

0 commit comments

Comments
 (0)