Avoid .take().unwrap() with FnOnce closures

This commit is contained in:
Alex Crichton
2014-12-10 07:49:45 -08:00
committed by Aaron Turon
parent a7061d02e1
commit 4ffd9f49c3
7 changed files with 31 additions and 43 deletions

View File

@@ -106,7 +106,7 @@
#![allow(unknown_features)]
#![feature(macro_rules, globs, linkage, thread_local, asm)]
#![feature(default_type_params, phase, lang_items, unsafe_destructor)]
#![feature(import_shadowing, slicing_syntax)]
#![feature(import_shadowing, slicing_syntax, tuple_indexing)]
#![feature(unboxed_closures)]
// Don't link to std. We are std.