]> git.lizzy.rs Git - rust.git/commit
Removed doubled wording.
authorZach Pomerantz <zmp@umich.edu>
Tue, 10 Jun 2014 23:53:04 +0000 (16:53 -0700)
committerZach Pomerantz <zmp@umich.edu>
Tue, 10 Jun 2014 23:53:04 +0000 (16:53 -0700)
commit782c52a9240e7657fa813dcb141f5c5f4b308a25
treeb807723ed09d2a87bec1a0c2e7406c0c4711a985
parent7f777a5ba49785a74e5365e9897ddf4c02ea8519
Removed doubled wording.

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.
src/doc/guide-lifetimes.md