momentohq/client-sdk-rust

`IntoBytesIterable` should accept `[...]`

Closed this issue · 0 comments

Bug bash feedback from Kenny:

client.list_concatenate_back(cache_name, "f", ["v1", "v2", "v3"]); should work.

You need to impl<T: IntoBytes> IntoBytesIterable for IntoIter<Item = T>

As it currently is, you are forcing me to make a heap allocation for statically known values.

(Currently, need vec!["v1", "v2", "v3"])