scylladb/scylla-rust-driver

codewide: Consider widening (generisation) of public APIs

Opened this issue · 0 comments

One small improvement that may bring more convenience for the users is making APIs more generic. Some examples of this include:

  • &str -> impl AsRef<str>
  • Vec<T> -> impl IntoIterator<Item = T>