Guide: Fix variable name

This commit is contained in:
Daniel Hofstetter 2014-11-01 14:56:48 +01:00
parent 0547a407aa
commit 88d7f0a8da

View file

@ -287,7 +287,7 @@ The benchmarking runner offers two ways to avoid this. Either, the
closure that the `iter` method receives can return an arbitrary value
which forces the optimizer to consider the result used and ensures it
cannot remove the computation entirely. This could be done for the
example above by adjusting the `bh.iter` call to
example above by adjusting the `b.iter` call to
~~~
# struct X; impl X { fn iter<T>(&self, _: || -> T) {} } let b = X;