Skip to content

shining-mind/rust-book

Repository files navigation

Learning Rust

Chapter 2

In this chapter I have implemented a guessing game. Program makes the secret number and user must guess it.

Run: cargo run --bin guessing-game

Chapter 3

There are the examples from rust book chapter 3. Also I have solved additional tasks:

  • Convert temperature from F to C or vice versa. Run: cargo run --bin convert-temp
  • Get n-th Fibonacci number. Run: cargo run --bin nth-fib
  • Other examples: loops, variables, branches, functions

Chapter 4

cargo run --bin strings

Chapter 5

cargo run --bin area-calc

Chapter 6

cargo run --bin enums

Chapter 7

TODO: create examples

About

Learning rust lang via the rust book

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages