tisonkun commented on PR #140:
URL:
https://github.com/apache/datasketches-rust/pull/140#issuecomment-4806137489
If you'd like to simply between `String` and `&str` and don't care about the
clone, you can have a caller side helper function:
```
fn update_items(sketch: FrequentItemsSketch<String>, k: impl Into<String>) {
let k = k.into();
sketch.update(k);
}
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]