diff --git a/src/errors.rs b/src/errors.rs index 1f6c17f..c6809ed 100644 --- a/src/errors.rs +++ b/src/errors.rs @@ -56,7 +56,7 @@ pub enum ErrorKind { InvalidIssuer, /// When a token’s `aud` claim does not match one of the expected audience values InvalidAudience, - /// When a token’s `aud` claim does not match one of the expected audience values + /// When a token’s `sub` claim does not match one of the expected audience values InvalidSubject, /// When a token’s nbf claim represents a time in the future ImmatureSignature,