From 26d9d1dc11962466ec98a6392bebd9345e399bb9 Mon Sep 17 00:00:00 2001 From: Alex Leering Date: Wed, 19 Nov 2025 16:13:36 +0100 Subject: [PATCH] Remove misleading ParserOptions documentation --- parser_option.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/parser_option.go b/parser_option.go index d845865d..af42fd3a 100644 --- a/parser_option.go +++ b/parser_option.go @@ -3,9 +3,7 @@ package jwt import "time" // ParserOption is used to implement functional-style options that modify the -// behavior of the parser. To add new options, just create a function (ideally -// beginning with With or Without) that returns an anonymous function that takes -// a *Parser type as input and manipulates its configuration accordingly. +// behavior of the parser. type ParserOption func(*Parser) // WithValidMethods is an option to supply algorithm methods that the parser