Skip to content

Commit

Permalink
Update intro.md (#215)
Browse files Browse the repository at this point in the history
Fix a few minor typos in intro docs
  • Loading branch information
ivandevp authored Oct 9, 2024
1 parent a2c0666 commit dce32c5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/docs/learn/parser_in_rust/intro.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,12 +52,12 @@ You should also read [The Rust Performance Book](https://nnethercote.github.io/p

## Rust Source Code

Whenever the performance of an function call cannot be deduced,
Whenever the performance of a function call cannot be deduced,
do not be afraid to click the "source" button on the Rust documentation and read the source code,
they are easy to understand most of the time.

:::info
When navigating the Rust source code, searching for a definition is simply looking for
`fn function_name`, `struct struct_name`, `enum enum_name` etc.
`fn function_name`, `struct struct_name`, `enum enum_name`, etc.
This is one advantage of having constant grammar in Rust (compared to JavaScript 😉).
:::

0 comments on commit dce32c5

Please sign in to comment.