top | item 45620568 (no title) gnatolf | 4 months ago If only one could construct a macro to solve the boilerplate of AsRef<str> etc ;) discuss order hn newest LtdJorge|4 months ago To me, there’s not much difference between: fn foo(name: &str) {} and*: fn foo(name: impl AsRef<str>) {}
LtdJorge|4 months ago To me, there’s not much difference between: fn foo(name: &str) {} and*: fn foo(name: impl AsRef<str>) {}
LtdJorge|4 months ago