diff --git a/content/post/03-bites-the-rust.md b/content/post/03-bites-the-rust.md index 96490d2..39af7fc 100644 --- a/content/post/03-bites-the-rust.md +++ b/content/post/03-bites-the-rust.md @@ -546,7 +546,7 @@ fn main() { {{< / highlight >}} Here, this piece of code works because _Rust_ copy the value of `i` into -`val` when calling the `priprint` function. All primitve type in _Rust_ +`val` when calling the `priprint` function. All primitive types in _Rust_ works this way, but, if you want to pass, for example, a struct, _Rust_ will **move** the resource to the function. By **moving** a resource, you **transfer** ownership to the receiver. So in the example below `priprint`