Skip to content

Conversation

@waywardmonkeys
Copy link
Contributor

The Shape trait overall doesn't need the Self: Sized bound only 2 methods do, so move the bound there.

The `Shape` trait overall doesn't need the `Self: Sized` bound
only 2 methods do, so move the bound there.
@waywardmonkeys waywardmonkeys force-pushed the move-sized-trait-bound branch from 788b24d to f4ba643 Compare March 7, 2024 03:33
@waywardmonkeys
Copy link
Contributor Author

I'd found this when I was looking at why Shape isn't object-safe, which was causing me problems when looking at FFI for Vello. This alone won't solve that, but seemed like a change in a positive direction.

Copy link
Member

@xStrom xStrom left a comment

Choose a reason for hiding this comment

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

As discussed at office hours, this looks good.

@waywardmonkeys waywardmonkeys merged commit 3ea8f6b into linebender:main Mar 7, 2024
@waywardmonkeys waywardmonkeys deleted the move-sized-trait-bound branch March 7, 2024 17:20
@waywardmonkeys waywardmonkeys added this to the August, 2024 Release milestone Aug 6, 2024
@DJMcNab DJMcNab mentioned this pull request Sep 2, 2024
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

Successfully merging this pull request may close these issues.

2 participants