diff options
| author | Manish Goregaokar <manishsmail@gmail.com> | 2015-06-11 12:50:53 +0530 |
|---|---|---|
| committer | Manish Goregaokar <manishsmail@gmail.com> | 2015-06-11 12:50:53 +0530 |
| commit | 95407cc627bfd2c0cda7c41a1d8dba301b215bca (patch) | |
| tree | 41e07cb23568e8f7aec3e4f56a54113db9d4f3ac /src/libstd/sys | |
| parent | ea4949d44924444c29e9266708ba18f344487577 (diff) | |
| parent | 7d298d1acecbd866be7b9e2c60ef86032bb2a502 (diff) | |
| download | rust-95407cc627bfd2c0cda7c41a1d8dba301b215bca.tar.gz rust-95407cc627bfd2c0cda7c41a1d8dba301b215bca.zip | |
Rollup merge of #26191 - jimblandy:master, r=steveklabnik
In the discussion of returning closures, it seems like the example code got simplified, but only the later copies got fixed. The final working code has `factory` returning `|x| x + num`, but the earlier code has `|x| vec.push(x)`. The first form seemed to have more distracting characteristics, and the code wasn't right anyway, so I changed them to all use the second form, and updated the error messages. r? @steveklabnik
Diffstat (limited to 'src/libstd/sys')
0 files changed, 0 insertions, 0 deletions
