Skip to content

Commit 40c7350

Browse files
committed
Fix link to stack/heap page
Link spanned a line and was mising the actual link target.
1 parent a691f1e commit 40c7350

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/doc/trpl/hello-world.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -104,10 +104,10 @@ We’ll get to the details eventually, you’ll just have to trust us for now.
104104

105105
Next, `"Hello, world!"` is a ‘string’. Strings are a surprisingly complicated
106106
topic in a systems programming language, and this is a ‘statically allocated’
107-
string. If you want to read further about allocation, check out [the stack and
108-
the heap], but you don’t need to right now if you don’t want to. We pass this
109-
string as an argument to `println!`, which prints the string to the screen.
110-
Easy enough!
107+
string. If you want to read further about allocation, check out
108+
[the stack and the heap][allocation], but you don’t need to right now if you
109+
don’t want to. We pass this string as an argument to `println!`, which prints the
110+
string to the screen. Easy enough!
111111

112112
[allocation]: the-stack-and-the-heap.html
113113

0 commit comments

Comments
 (0)