Return Position Impl Trait
#![allow(unused)] fn main() { }
example 1
#![allow(unused)] fn main() { fn apply<F>(f: F) where F: Fn(&str), { let s = String::from("hello"); f(&s); } }
#![allow(unused)] fn main() { }
#![allow(unused)] fn main() { fn apply<F>(f: F) where F: Fn(&str), { let s = String::from("hello"); f(&s); } }