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);
}
}