Skip to content
New issue

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

Consider adding T: Borrow<> to some APIs #97

Open
aclysma opened this issue Mar 1, 2021 · 0 comments
Open

Consider adding T: Borrow<> to some APIs #97

aclysma opened this issue Mar 1, 2021 · 0 comments

Comments

@aclysma
Copy link
Owner

aclysma commented Mar 1, 2021

Some of the raft-api interface takes vector by value and some by ref. If those functions used a trait bound with Borrow<>, then both could be supported.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant