Stabilize boxed_closure_impls in 1.35.0.

This commit is contained in:
Charles Lew 2019-02-11 11:09:26 +09:00 committed by CrLF0710
parent 45c0b28bcb
commit ecc3e89dd0
3 changed files with 3 additions and 109 deletions

View file

@ -1,5 +1,3 @@
#![feature(boxed_closure_impls)]
fn call_it<T>(f: Box<dyn FnOnce() -> T>) -> T {
f()
}