Skip to content

Commit

Permalink
Merge pull request #1 from jermyn626/fix-ownership-move
Browse files Browse the repository at this point in the history
fix typo: "treat" to "trait" in ownership
  • Loading branch information
inancgumus authored Jun 11, 2020
2 parents 39deb10 + 706259f commit 6d86169
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rpl/_05_ownership/_03_move/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ fn main() {
//
// 1. Simple values like an integer doesn't need to be cloned.
// 2. They can be copied by Rust automatically.
// 3. It has a Copy treat.
// 3. It has a Copy trait.
// SEE: https://doc.rust-lang.org/std/marker/trait.Copy.html
//
}
}

0 comments on commit 6d86169

Please sign in to comment.