]> git.lizzy.rs Git - rust.git/commit
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)
commitc0a6f72e8bfea2647da7f63f9f09b2cfeaa161c9
tree50abeb22701f72a4cea2fa5568228690fda518c9
parent87bf47a0f706685b8e3acbf40585e45ec423f061
parent782c52a9240e7657fa813dcb141f5c5f4b308a25
auto merge of #14805 : zzmp/rust/patch-1, r=alexcrichton

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.