Hacker News new | ask | show | jobs
by LtdJorge 252 days ago
To me, there’s not much difference between:

  fn foo(name: &str) {}
and*:

  fn foo(name: impl AsRef<str>) {}