Skip to content

Conversation

@zachs18
Copy link
Contributor

@zachs18 zachs18 commented May 25, 2022

bool and char are not able to have any arbitrary bit-pattern, so they should not implement Bytes.

fixes #100

@stouset stouset enabled auto-merge August 13, 2025 22:30
@stouset
Copy link
Owner

stouset commented Aug 13, 2025

I apologize. For some reason I haven't been getting email notifications about this repository, so issues/PRs have gone unnoticed.

@stouset stouset force-pushed the patch-1 branch 2 times, most recently from 872b742 to 1bc5609 Compare August 14, 2025 22:38
`bool` and `char` are not able to have any arbitrary bit-pattern, so they should not implement `Bytes`.

fixes stouset#100
@stouset stouset merged commit 9efc909 into stouset:master Aug 14, 2025
4 checks passed
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.

bool and char's Bytes implementations cause undefined behavior.

2 participants