Rustlings Solutions v5 (5.2.1)

This repository contains the contents of the 'exercises' directory of Rustlings version 5.2.1 with all the completed solutions.

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

Solutions to source file mapping

intro

variables

functions

if

quiz1

primitive_types

vecs

move_semantics

structs

enums

strings

modules

hashmaps

quiz2

options

error_handling

generics

traits

quiz3

tests

lifetimes

standard_library_types

threads

macros

clippy

conversions