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

Fix Command<T>::perform to return a Command<T> #2000

Merged
merged 2 commits into from
Oct 18, 2023
Merged

Conversation

ids1024
Copy link
Contributor

@ids1024 ids1024 commented Aug 3, 2023

This seems like clearly the correct thing to do here. If the type bound on Command isn't specified, it makes no difference, since the generic is inferred in a way that works with either definition. But this is important if Command<T> is aliased with a concrete type.

This seems like clearly the correct thing to do here. If the type bound
on `Command` isn't specified, it makes no difference, since the generic
is inferred in a way that works with either definition. But this is
important if `Command<T>` is aliased with a concrete type.
Copy link
Member

@hecrj hecrj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Makes sense! Thanks!

@hecrj hecrj enabled auto-merge October 18, 2023 22:35
@hecrj hecrj merged commit 0770e7e into iced-rs:master Oct 18, 2023
11 of 12 checks passed
@ids1024 ids1024 deleted the perform branch October 19, 2023 01:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants