Skip to content

gchandra10/rust-for-beginners

Repository files navigation

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/

About

Sample Rust programs for Beginners

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages