diff options
| author | Matt Brubeck <mbrubeck@limpet.net> | 2016-10-18 10:56:12 -0700 |
|---|---|---|
| committer | Matt Brubeck <mbrubeck@limpet.net> | 2016-10-18 10:56:12 -0700 |
| commit | f89ba5da4a7f9a6446b91cb621ed000d28529d82 (patch) | |
| tree | aea72659bdc3a7c3f5e3218a32504b399c11c682 /src/test/incremental/thinlto | |
| parent | 2c2552b712386dd01a9d620aff960b98cddb4098 (diff) | |
| download | rust-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
