/gs-ownership

getting starter with rust's central feature...

Primary LanguageRust

ownership rules
  • Each value in Rust has a variable that’s called its owner.
  • There can only be one owner at a time.
  • When the owner goes out of scope, the value will be dropped.