We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Current:
fn linear_group_by_key<F, K>(&self, func: F) -> LinearGroupByKey<T, F> where F: FnMut(&T) -> K, K: PartialEq
Does not allow:
let strings = vec!["A".to_owned()]; strings.linear_group_by_key(|s| s.as_str());
In order for that to work, we need:
fn linear_group_by_key<'a, F, K>(&'a self, func: F) -> LinearGroupByKey<T, F> where F: FnMut(&'a T) -> K, K: PartialEq
Since nothing moves in memory it should be possible.
The text was updated successfully, but these errors were encountered:
Hey @Ten0 👋
That's a great idea, and it is not breaking. Can you please propose a pull request and even copy/paste your comment into this official thread, too?
Sorry, something went wrong.
No branches or pull requests
Current:
Does not allow:
In order for that to work, we need:
Since nothing moves in memory it should be possible.
The text was updated successfully, but these errors were encountered: