Skip to content

Instantly share code, notes, and snippets.

View kulapoo's full-sized avatar
🎯
Focusing

kulapoo kulapoo

🎯
Focusing
View GitHub Profile
@kulapoo
kulapoo / official-rust-book-summary.md
Last active April 29, 2023 08:50
My Official Rust Book Summary

General

  • rustup = nvm
  • Cargo = npm
  • **creates.io"" = npm site
  • mut means mutalble
  • & = can access pieace of data without needing to copy that data into memory multiple times (&mut for mutable reference)
  • An arm has two parts: a pattern and some code
  • monomorphization in rust????
  • {:#?} is for debugging along with println! macro i.e println!("{:#?}")