Skip to content

Commit

Permalink
Fixed 'troubleshooting' link
Browse files Browse the repository at this point in the history
  • Loading branch information
0xScratch authored and carols10cents committed Nov 9, 2023
1 parent d0473be commit 44c7838
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ch01-02-hello-world.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ first line declares a function named `main` that has no parameters and returns
nothing. If there were parameters, they would go inside the parentheses `()`.

The function body is wrapped in `{}`. Rust requires curly brackets around all
function bodies. It’s good style to place the opening curly bracket on the same
function bodies. It’s a good style to place the opening curly bracket on the same
line as the function declaration, adding one space in between.

> Note: If you want to stick to a standard style across Rust projects, you can
Expand Down Expand Up @@ -197,5 +197,5 @@ grows, you’ll want to manage all the options and make it easy to share your
code. Next, we’ll introduce you to the Cargo tool, which will help you write
real-world Rust programs.

[troubleshooting]: ch01-01-installation.html#troubleshooting
[troubleshooting]: ch01-01-installation.md#troubleshooting
[devtools]: appendix-04-useful-development-tools.md

0 comments on commit 44c7838

Please sign in to comment.