Defite / rust-by-example

Learning Rust language through examples

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Rust learning examples

All examples are located in examples folder. In order to rust-analyzer work correctly, cd into folder with example and open it in your IDE.

  1. Guessing game - try to guess random number
  2. Fahrenheit to Celsius and vice versa converter

How to run examples

# Skip clone repo step
cd examples/fahrenheit_celsius
cargo run

About

Learning Rust language through examples