Skip to content

Commit

Permalink
Change wording to make it more consistent
Browse files Browse the repository at this point in the history
  • Loading branch information
praveenperera authored and Jarema committed Feb 8, 2024
1 parent b0f7c2f commit f19fc55
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion async-nats/src/jetstream/kv/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1277,7 +1277,7 @@ impl Display for CreateErrorKind {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
match self {
Self::AlreadyExists => write!(f, "key already exists"),
Self::Publish => write!(f, "failed to put key into store"),
Self::Publish => write!(f, "failed to create key in store"),
Self::Ack => write!(f, "ack error"),
Self::InvalidKey => write!(f, "key cannot be empty or start/end with `.`"),
Self::Other => write!(f, "other error"),
Expand Down

0 comments on commit f19fc55

Please sign in to comment.