Skip to content

Latest commit

 

History

History
30 lines (23 loc) · 757 Bytes

README.md

File metadata and controls

30 lines (23 loc) · 757 Bytes

Rust for Beginners

Contains scripts covering Rust basics. Some may seem to be complicated, but they are not.

Fork this repository this way you can clone and make necessary changes. Please click the Star icon before forking.

How did I create a new package

By default you cannot create a package name starting with numeric value. So parameter --name is used so Cargo creates a folder with xx_ and package name with different text.

cargo new 01_hello --name hello

List of Scripts

  • 01_hello/
  • 02_variable/
  • 03_mutable_variable/
  • 04_while_loop/
  • 05_for_loop/
  • 06_loop/
  • 07_if/
  • 08_match/
  • 09_match_tuple/
  • 10_int_datatype/
  • 11_float_datatype/
  • 12_bool_datatype/
  • 13_str_datatype/
  • 14_str_based_scripts/
  • 15_arr_datatype/