about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorDaniel Hofstetter <daniel.hofstetter@42dh.com>2014-11-01 14:56:48 +0100
committerDaniel Hofstetter <daniel.hofstetter@42dh.com>2014-11-01 14:56:48 +0100
commit88d7f0a8daf9c147178e4ea2b1815f6a035ccaa2 (patch)
treed697d98466a30be0c0c1d94bafc39a5303f2055c /src
parent0547a407aa03b9f1c03843aead617a2e8c5d1147 (diff)
downloadrust-88d7f0a8daf9c147178e4ea2b1815f6a035ccaa2.tar.gz
rust-88d7f0a8daf9c147178e4ea2b1815f6a035ccaa2.zip
Guide: Fix variable name
Diffstat (limited to 'src')
-rw-r--r--src/doc/guide-testing.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/doc/guide-testing.md b/src/doc/guide-testing.md
index 9d15f55f33f..4128ae9538b 100644
--- a/src/doc/guide-testing.md
+++ b/src/doc/guide-testing.md
@@ -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;