Skip to content

Conversation

@calebzulawski
Copy link
Member

@calebzulawski calebzulawski commented Apr 15, 2022

This serves a few purposes:

  • Deduplicates functions that are reimplemented for each element type (the docs are dramatically better)
  • Distinguishes between functions on particular element types and functions that work on any element type (also helps docs)
  • Distinguishes between functions that are slightly different between different elements (like abs)

I believe this should close #85 and #228 (and maybe #15 as well)

Copy link
Member

@programmerjake programmerjake left a comment

Choose a reason for hiding this comment

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

Other than 1 nit, lgtm!

@calebzulawski
Copy link
Member Author

Just upgraded the bound from Sized to Copy since some of the functions take self rather than &self (and clippy helpfully gave a warning)

@calebzulawski
Copy link
Member Author

@workingjubilee do you mind if I merge this?

@calebzulawski calebzulawski mentioned this pull request May 21, 2022
@calebzulawski calebzulawski merged commit c44a608 into master May 31, 2022
@calebzulawski calebzulawski deleted the feature/simd-traits branch October 17, 2022 00:14
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.

Improve rustdoc views

3 participants