about summary refs log tree commit diff
path: root/src/test/incremental/thinlto
diff options
context:
space:
mode:
authorMatt Brubeck <mbrubeck@limpet.net>2016-10-18 10:56:12 -0700
committerMatt Brubeck <mbrubeck@limpet.net>2016-10-18 10:56:12 -0700
commitf89ba5da4a7f9a6446b91cb621ed000d28529d82 (patch)
treeaea72659bdc3a7c3f5e3218a32504b399c11c682 /src/test/incremental/thinlto
parent2c2552b712386dd01a9d620aff960b98cddb4098 (diff)
downloadrust-f89ba5da4a7f9a6446b91cb621ed000d28529d82.tar.gz
rust-f89ba5da4a7f9a6446b91cb621ed000d28529d82.zip
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.
Diffstat (limited to 'src/test/incremental/thinlto')
0 files changed, 0 insertions, 0 deletions