Closed jhecking closed 6 years ago
As per #47 and this rust-lang forum thread any client API that takes &[&Bin] could be improved by taking &[A] where A: AsRef<Bin> instead.
&[&Bin]
&[A] where A: AsRef<Bin>
Follow-up discussion on the rust-lang forum: https://users.rust-lang.org/t/generic-types-with-lifetimes/20142/11.
As per #47 and this rust-lang forum thread any client API that takes
&[&Bin]
could be improved by taking&[A] where A: AsRef<Bin>
instead.