Add Rust concept notes to Burn Book #1169
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Checklist
run-checks all
script has been executed.Related Issues/PRs
Closes #1155
Changes
For new Rustaceans, following the guide should be enough to get started with Burn. In the previous version of the book, we simply mentioned that people should "read the first chapters of the Rust Book" first.
While it is still recommended, this PR introduces 🦀 Rust Note indicators throughout the sections 3 (Getting Started) and 4 (Basic Workflow, aka "The Guide").
The notes are collapsible sections which provide explanations for the basic Rust concepts involved in the current context.
🦀 An Example Note
This note should briefly explain one concept (or in some cases, a few related concepts) particular to Rust and perhaps detail how it is applied in the current section.
External references are usually provided, pointing to the Rust Book as the main source.
Let me know what you think about the context notes as collapsible sections! I used the crab 🦀 emoji since the notes are supposed to be Rust specific, but it could be changed if you have any other preferences.
Also, any comments on the added notes are welcome! And if you think I missed anything let me know.