Skip to content

Commit 9343c66

Browse files
authored
Fix some comments (#288)
1 parent be8697a commit 9343c66

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/errors.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,9 +59,9 @@ pub enum ErrorKind {
5959
InvalidIssuer,
6060
/// When a token’s `aud` claim does not match one of the expected audience values
6161
InvalidAudience,
62-
/// When a token’s `sub` claim does not match one of the expected audience values
62+
/// When a token’s `sub` claim does not match one of the expected subject values
6363
InvalidSubject,
64-
/// When a token’s nbf claim represents a time in the future
64+
/// When a token’s `nbf` claim represents a time in the future
6565
ImmatureSignature,
6666
/// When the algorithm in the header doesn't match the one passed to `decode` or the encoding/decoding key
6767
/// used doesn't match the alg requested

0 commit comments

Comments
 (0)