Skip to content

Commit

Permalink
fix(ownership/move): correct "treat" to "trait"
Browse files Browse the repository at this point in the history
  • Loading branch information
jermyn626 authored Jun 11, 2020
1 parent 39deb10 commit 706259f
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 706259f

Please sign in to comment.