Skip to content

Commit

Permalink
note that the Error display impl is public API
Browse files Browse the repository at this point in the history
  • Loading branch information
KodrAus committed Apr 23, 2022
1 parent 9e0dc29 commit 1a54a9f
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 1a54a9f

Please sign in to comment.