From 0ed16a34ad6d052d6d3c5440b938c8856df001c3 Mon Sep 17 00:00:00 2001 From: Vivien Maisonneuve Date: Thu, 3 Feb 2022 08:41:25 +0100 Subject: [PATCH] Fix function name in doc comment --- src/validation.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/validation.rs b/src/validation.rs index 11d48aa..efe3770 100644 --- a/src/validation.rs +++ b/src/validation.rs @@ -115,7 +115,7 @@ impl Validation { /// Which claims are required to be present for this JWT to be considered valid. /// The only values that will be considered are "exp", "nbf", "aud", "iss", "sub". - /// The simple usage is `set_required_claims(&["exp", "nbf"])`. + /// The simple usage is `set_required_spec_claims(&["exp", "nbf"])`. /// If you want to have an empty set, do not use this function - set an empty set on the struct /// param directly. pub fn set_required_spec_claims(&mut self, items: &[T]) {