about summary refs log tree commit diff
path: root/src/test/compile-fail/precise-refutable-pattern-errors.rs
diff options
context:
space:
mode:
authorNathan Typanski <ntypanski@gmail.com>2014-06-17 21:55:42 -0400
committerNathan Typanski <ntypanski@gmail.com>2014-06-17 23:45:34 -0400
commitfeceb1276e3f7848fb6bee0a130065f6b1c56daf (patch)
tree8249589045694091dcb58ac49c595ca6fdef588c /src/test/compile-fail/precise-refutable-pattern-errors.rs
parent1bb42e557c9ce41a8ccd3e6992dfcd81d5aef66f (diff)
downloadrust-feceb1276e3f7848fb6bee0a130065f6b1c56daf.tar.gz
rust-feceb1276e3f7848fb6bee0a130065f6b1c56daf.zip
change ~[] -> Vec for collect()
This updates the documentation for result::collect() and
option::collect() to use the new-style syntax for vectors, instead of
the old ~[].

Also updates the code blocks for these docs so they will be tested
automatically.

closes #14991
Diffstat (limited to 'src/test/compile-fail/precise-refutable-pattern-errors.rs')
0 files changed, 0 insertions, 0 deletions