about summary refs log tree commit diff
path: root/src/libsyntax/parse/parser.rs
diff options
context:
space:
mode:
authorManish Goregaokar <manishsmail@gmail.com>2015-06-11 12:50:53 +0530
committerManish Goregaokar <manishsmail@gmail.com>2015-06-11 12:50:53 +0530
commit95407cc627bfd2c0cda7c41a1d8dba301b215bca (patch)
tree41e07cb23568e8f7aec3e4f56a54113db9d4f3ac /src/libsyntax/parse/parser.rs
parentea4949d44924444c29e9266708ba18f344487577 (diff)
parent7d298d1acecbd866be7b9e2c60ef86032bb2a502 (diff)
downloadrust-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/libsyntax/parse/parser.rs')
0 files changed, 0 insertions, 0 deletions