Doc fix: function takes argument by reference.

This commit is contained in:
Varun Vats 2016-03-30 21:05:12 -05:00 committed by Varun Vats
parent 7ded11a58c
commit d841c15704

View File

@ -56,8 +56,8 @@ To fix this, we have to make sure that step four never happens after step
three. The ownership system in Rust does this through a concept called
lifetimes, which describe the scope that a reference is valid for.
When we have a function that takes a reference by argument, we can be implicit
or explicit about the lifetime of the reference:
When we have a function that takes an argument by reference, we can be
implicit or explicit about the lifetime of the reference:
```rust
// implicit