Hacker News new | ask | show | jobs
by brundolf 2000 days ago
If you just prefer the "helper" style of calling, Rust allows methods to be called either way:

  let foo1: String = "bar".into();
  let foo2 = core::convert::Into::into::<String>("bar");