A few more RBE things

This commit is contained in:
2023-10-19 11:08:38 -04:00
parent 0e6448df23
commit 087355502d
2 changed files with 50 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
fn apply<F>(f: F)
where
F: Fn(),
{
f();
}
fn main() {
let x = 7;
let print = || println!("{}", x);
apply(print);
}