Skip to content

Conversation

@notoriaga
Copy link
Contributor

Description

@swift-nav/devinfra

Changes

#[derive(Debug, Clone)]
pub struct TryFromSbpError;

to

#[derive(Debug, Clone)]
pub struct TryFromSbpError(pub Sbp);

Which is a pretty common pattern for TryFrom impls on non Copy types

API compatibility

Does this change introduce a API compatibility risk?

Yes, adding a field to unit struct is a breaking change

API compatibility plan

I don't see any code in our org that pattern matches on (or even references) the error, so it's probably fine

@notoriaga notoriaga requested review from a team and silverjam as code owners December 9, 2022 20:23
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.

3 participants