diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2014-11-02 18:45:02 -0800 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2014-11-03 08:31:45 -0800 |
| commit | 048902db52543e9fb2b4b151c929fd00667e6c23 (patch) | |
| tree | c722382e0f1c0d68d1b0aea81489ff12d7796547 | |
| parent | 02c234cc52be6b655822d86f22751d57f1005822 (diff) | |
| parent | 88d7f0a8daf9c147178e4ea2b1815f6a035ccaa2 (diff) | |
| download | rust-048902db52543e9fb2b4b151c929fd00667e6c23.tar.gz rust-048902db52543e9fb2b4b151c929fd00667e6c23.zip | |
rollup merge of #18508 : cakebaker/fix_variable_name
| -rw-r--r-- | src/doc/guide-testing.md | 2 |
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; |
