Skip to content

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

Merged
hecrj merged 2 commits intoiced-rs:masterfrom
ids1024:perform
Oct 18, 2023
Merged

Fix Command<T>::perform to return a Command<T>#2000
hecrj merged 2 commits intoiced-rs:masterfrom
ids1024:perform

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.
@hecrj hecrj added this to the 0.12 milestone Oct 18, 2023
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
@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

Comments