Skip to content

make skip a provided method of RingBufferRead#109

Merged
jdonszelmann merged 1 commit into
NULLx76:mainfrom
tertsdiepraam:provide-skip-in-trait
Jun 8, 2023
Merged

make skip a provided method of RingBufferRead#109
jdonszelmann merged 1 commit into
NULLx76:mainfrom
tertsdiepraam:provide-skip-in-trait

Conversation

@tertsdiepraam
Copy link
Copy Markdown
Contributor

skip was implemented with a macro that was repeated for all ringbuffers. I've copied the #[inline] attribute, but I don't really know whether #[inline] works on a provided method. I've also removed the .map(drop), because I think it's unnecessary (correct me if I'm wrong).

@jdonszelmann
Copy link
Copy Markdown
Collaborator

won't correct cause you're not wrong

@jdonszelmann jdonszelmann merged commit 818741c into NULLx76:main Jun 8, 2023
NULLx76 pushed a commit that referenced this pull request Jul 11, 2025
make `skip` a provided method of `RingBufferRead`
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