Skip to content

Commit

Permalink
Guide: Fix variable name
Browse files Browse the repository at this point in the history
  • Loading branch information
cakebaker committed Nov 1, 2014
1 parent 0547a40 commit 88d7f0a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/doc/guide-testing.md
Expand Up @@ -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;
Expand Down

0 comments on commit 88d7f0a

Please sign in to comment.