about summary refs log tree commit diff
path: root/src/test/run-pass/thinlto
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2016-11-04 16:49:28 -0700
committerGitHub <noreply@github.com>2016-11-04 16:49:28 -0700
commitc0bc35a3640cb22c690169bffa2a3cb1a84523a9 (patch)
treedba64438796b7f378522bb608c63780e45a05bdd /src/test/run-pass/thinlto
parent81601cd3a393d1cb8ca82eb1b2270d24c5d7724f (diff)
parentf89ba5da4a7f9a6446b91cb621ed000d28529d82 (diff)
downloadrust-c0bc35a3640cb22c690169bffa2a3cb1a84523a9.tar.gz
rust-c0bc35a3640cb22c690169bffa2a3cb1a84523a9.zip
Rollup merge of #37255 - mbrubeck:doc-edit, r=steveklabnik
Fix some mistakes in HRTB docs

The example code for higher-ranked trait bounds on closures had an unnecessary `mut` which was confusing, and the text referred to an mutable reference which does not exist in the code (and isn't needed).  Removed the `mut`s and fixed the text to better describe the actual error for the failing example.

Thanks to csd_ on IRC for pointing out these problems!

r? @steveklabnik
Diffstat (limited to 'src/test/run-pass/thinlto')
0 files changed, 0 insertions, 0 deletions