diff options
| author | Brett Cannon <brettcannon@users.noreply.github.com> | 2015-04-15 12:57:22 -0400 |
|---|---|---|
| committer | Brett Cannon <brettcannon@users.noreply.github.com> | 2015-04-15 12:57:22 -0400 |
| commit | 40c7350407a652c4bf13fd5abc2789a2a5242a70 (patch) | |
| tree | e3334629a9031e7090fd0b787e760e61eeac37bf | |
| parent | a691f1eefea586f154700be6ee1b991158f82b7f (diff) | |
| download | rust-40c7350407a652c4bf13fd5abc2789a2a5242a70.tar.gz rust-40c7350407a652c4bf13fd5abc2789a2a5242a70.zip | |
Fix link to stack/heap page
Link spanned a line and was mising the actual link target.
| -rw-r--r-- | src/doc/trpl/hello-world.md | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/doc/trpl/hello-world.md b/src/doc/trpl/hello-world.md index 6c320d27ba6..e58bac656d0 100644 --- a/src/doc/trpl/hello-world.md +++ b/src/doc/trpl/hello-world.md @@ -104,10 +104,10 @@ We’ll get to the details eventually, you’ll just have to trust us for now. Next, `"Hello, world!"` is a ‘string’. Strings are a surprisingly complicated topic in a systems programming language, and this is a ‘statically allocated’ -string. If you want to read further about allocation, check out [the stack and -the heap], but you don’t need to right now if you don’t want to. We pass this -string as an argument to `println!`, which prints the string to the screen. -Easy enough! +string. If you want to read further about allocation, check out +[the stack and the heap][allocation], but you don’t need to right now if you +don’t want to. We pass this string as an argument to `println!`, which prints the +string to the screen. Easy enough! [allocation]: the-stack-and-the-heap.html |
