Rust looks very interesting… I have something like this:
pub fn new<S: Into < String > >(first_name: S, last_name: S, age: u8, university: Option < String > ) -> Person
why is it not working if I change it to “university: Option< S >”?
It will convert String (not really) or &str on other parameters. Is it possible to change “where” in a way to do the same thing for Option? Thx!