2022-rustlings-solutions icon indicating copy to clipboard operation
2022-rustlings-solutions copied to clipboard

Solutions to Rustlings exercises for latest release v5.0.0

2022-rustlings-solutions

This Project is archived in favour of @akhildevelops/rustlings-solutions that has the latest solutions.

Solutions to Rustlings exercises for latest release v5.0.0

Topic wise solutions:

intro

  • intro1
  • intro2

variables

  • variables1
  • variables2
  • variables3
  • variables4
  • variables5
  • variables6

functions

  • functions1
  • functions2
  • functions3
  • functions4
  • functions5

if

  • if1
  • if2

quiz1

  • quiz1

primitive_types

  • primitive_types1
  • primitive_types2
  • primitive_types3
  • primitive_types4
  • primitive_types5
  • primitive_types6

vecs

  • vecs1
  • vecs2

move_semantics

  • move_semantics1
  • move_semantics2
  • move_semantics3
  • move_semantics4
  • move_semantics5
  • move_semantics6

structs

  • structs1
  • structs2
  • structs3

enums

  • enums1
  • enums2
  • enums3

strings

  • strings1
  • strings2
  • strings3
  • strings4

modules

  • modules1
  • modules2
  • modules3

hashmaps

  • hashmaps1
  • hashmaps2
  • hashmaps3

quiz2

  • quiz2

options

  • options1
  • options2
  • options3

error_handling

  • errors1
  • errors2
  • errors3
  • errors4
  • errors5
  • errors6

generics

  • generics1
  • generics2

traits

  • traits1
  • traits2
  • traits3
  • traits4
  • traits5

quiz3

  • quiz3

tests

  • tests1
  • tests2
  • tests3

lifetimes

  • lifetimes1
  • lifetimes2
  • lifetimes3

standard_library_types

  • iterators1
  • iterators2
  • iterators3
  • iterators4
  • iterators5
  • box1
  • arc1

threads

  • threads1
  • threads2
  • threads3

macros

  • macros1
  • macros2
  • macros3
  • macros4

clippy

  • clippy1
  • clippy2
  • clippy3

conversions

  • using_as
  • from_into
  • from_str
  • try_from_into
  • as_ref_mut