Skip to content

Commit

Permalink
Fix typo in internal enum for known header name
Browse files Browse the repository at this point in the history
  • Loading branch information
caspervonb authored and Jarema committed Jul 27, 2023
1 parent 47a4790 commit 9677baf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion async-nats/src/header.rs
Original file line number Diff line number Diff line change
Expand Up @@ -404,7 +404,7 @@ standard_headers! {
/// The last known sequence number of the message.
(NatsLastSequence, NATS_LAST_SEQUENCE, b"Nats-Last-Sequence");
/// The expected last sequence number of the subject.
(NatsExpectgedLastSubjectSequence, NATS_EXPECTED_LAST_SUBJECT_SEQUENCE, b"Nats-Expected-Last-Subject-Sequence");
(NatsExpectedLastSubjectSequence, NATS_EXPECTED_LAST_SUBJECT_SEQUENCE, b"Nats-Expected-Last-Subject-Sequence");
/// The expected last message ID within the stream.
(NatsExpectedLastMessageId, NATS_EXPECTED_LAST_MESSAGE_ID, b"Nats-Expected-Last-Msg-Id");
/// The expected last sequence number within the stream.
Expand Down

0 comments on commit 9677baf

Please sign in to comment.