diff options
| author | bors <bors@rust-lang.org> | 2014-03-06 06:51:35 -0800 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2014-03-06 06:51:35 -0800 |
| commit | fb80b384f4b6611ce4d880991a1026e93acdd6f7 (patch) | |
| tree | ffcbc0a577b4cebd787c91eba6322c7c82a7ea42 /src/doc/rust.md | |
| parent | 0a7b06e955cd3f1c520ec3c2a34a2464f08a46f6 (diff) | |
| parent | 1c52c81846246e135557f1aa6db5bef4140c8717 (diff) | |
auto merge of #12727 : lifthrasiir/rust/buffalo-buffalo, r=huonw
Cosmetic changes at best, but there are so many such typos that I couldn't ignore them. :) Some occurrences of typos are linked to the generated documentations but no changes should break the builds.
Diffstat (limited to 'src/doc/rust.md')
| -rw-r--r-- | src/doc/rust.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/doc/rust.md b/src/doc/rust.md index 4e30b5537c6..d37b33d2316 100644 --- a/src/doc/rust.md +++ b/src/doc/rust.md @@ -2485,7 +2485,7 @@ before the expression they apply to. `*` : Dereference. When applied to a [pointer](#pointer-types) it denotes the pointed-to location. For pointers to mutable locations, the resulting [lvalue](#lvalues-rvalues-and-temporaries) can be assigned to. - On non-pointer types, it calls calls the `deref` method of the `std::ops::Deref` trait, or the + On non-pointer types, it calls the `deref` method of the `std::ops::Deref` trait, or the `deref_mut` method of the `std::ops::DerefMut` trait (if implemented by the type and required for an outer expression that will or could mutate the dereference), and produces the result of dereferencing the `&` or `&mut` borrowed pointer returned from the overload method. |
