Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mcdiarmid/my-rustlings-answers
https://github.com/mcdiarmid/my-rustlings-answers
Last synced: 2 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/mcdiarmid/my-rustlings-answers
- Owner: mcdiarmid
- Created: 2022-12-14T07:10:04.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2022-12-18T06:58:51.000Z (about 2 years ago)
- Last Synced: 2024-11-01T21:42:15.556Z (about 2 months ago)
- Language: Rust
- Size: 59.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# My Rustlings solutions
The [rustlings](https://github.com/rust-lang/rustlings) repository of exercises seems to be a great resource for picking up rust.
This repository contains my initial solutions to each of these exercises (found in https://github.com/rust-lang/rustlings/tree/main/exercises), coming from someone with a Python and C/C++ background.# Exercise to Book Chapter mapping
| Exercise | Book Chapter |
| ---------------------- | ------------------- |
| variables | §3.1 |
| functions | §3.3 |
| if | §3.5 |
| primitive_types | §3.2, §4.3 |
| vecs | §8.1 |
| move_semantics | §4.1, §4.2 |
| structs | §5.1, §5.3 |
| enums | §6, §18.3 |
| strings | §8.2 |
| modules | §7 |
| hashmaps | §8.3 |
| options | §10.1 |
| error_handling | §9 |
| generics | §10 |
| traits | §10.2 |
| tests | §11.1 |
| lifetimes | §10.3 |
| standard_library_types | §13.2, §15.1, §16.3 |
| threads | §16.1, §16.2, §16.3 |
| macros | §19.6 |
| clippy | n/a |
| conversions | n/a |