]> git.lizzy.rs Git - rust.git/commitdiff
auto merge of #14805 : zzmp/rust/patch-1, r=alexcrichton
authorbors <bors@rust-lang.org>
Thu, 12 Jun 2014 14:17:13 +0000 (14:17 +0000)
committerbors <bors@rust-lang.org>
Thu, 12 Jun 2014 14:17:13 +0000 (14:17 +0000)
The guide previously stated:

> The compiler will automatically convert a box box point to a reference like &amp;point.

This fixes the doubled word `box`, so the statement reads

> The compiler will automatically convert a box point to a reference like &amp;point.

The code it is referring to is `compute_distance(&on_the_stack, on_the_heap);`, so a single `box` is appropriate.


Trivial merge