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

Remove Sized bound for some functions #32

Closed
Johannesd3 opened this issue Mar 19, 2021 · 1 comment
Closed

Remove Sized bound for some functions #32

Johannesd3 opened this issue Mar 19, 2021 · 1 comment
Assignees

Comments

@Johannesd3
Copy link

There are some methods with the type parameter Q such that I: Borrow<Q>. Some of these methods (change_priority(_by), get_priority) don't require Q to be sized, but all others do. Has it a particular reason?

If not, it would be nice if those functions could be update to Q: ?Sized.

@garro95 garro95 self-assigned this Mar 19, 2021
@Johannesd3 Johannesd3 changed the title Removed Sized bound for some functions Remove Sized bound for some functions Mar 19, 2021
@garro95 garro95 closed this as completed Mar 19, 2021
@Johannesd3
Copy link
Author

Thanks for the quick reaction!

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

No branches or pull requests

2 participants