Skip to content

Commit

Permalink
Merge pull request #597 from uuid-rs/KodrAus-patch-1
Browse files Browse the repository at this point in the history
note that the Error display impl is public API
  • Loading branch information
KodrAus committed Apr 29, 2022
2 parents 9e0dc29 + 1a54a9f commit e0f0837
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/error.rs
Expand Up @@ -127,6 +127,7 @@ impl<'a> InvalidUuid<'a> {
}
}

// NOTE: This impl is part of the public API. Breaking changes to it should be carefully considered
impl fmt::Display for Error {
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
match self.0 {
Expand Down

0 comments on commit e0f0837

Please sign in to comment.