Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Seal instance traits #257

Merged
merged 2 commits into from
Jul 17, 2020
Merged

Seal instance traits #257

merged 2 commits into from
Jul 17, 2020

Conversation

hannobraun
Copy link
Member

No description provided.

I'm sure there are many other traits that need to be sealed, but we got
to start somewhere.
I think the previous text was wrong for multiple reasons:
1. They are sealed now, so we no longer need to explicitly state that
   they shouldn't be implemented.
2. The "or used" bit was probably always wrong. You always needed them
   as trait bounds to make code generic over peripheral instances.
3. Given that they need to be used anyway, what should and what
   shouldn't be considered a breaking change becomes a difficult
   distinction. Let's just make it simple and consider all breaking
   changes to actually be breaking changes.
@hannobraun hannobraun merged commit 2cee4ef into lpc-rs:master Jul 17, 2020
@hannobraun hannobraun deleted the seal-instances branch July 17, 2020 08:02
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