From 60937e1a919dfd5eb2dcfb77edf954eabee52626 Mon Sep 17 00:00:00 2001 From: Carlo Corradini Date: Wed, 25 Feb 2026 10:36:05 +0100 Subject: [PATCH] docs: fix custom validation code indentation --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 22aada5..a645650 100644 --- a/README.md +++ b/README.md @@ -350,7 +350,7 @@ use rusty_paseto::prelude::*; PasetoParser::::default() .check_claim(SubjectClaim::from("Get schwifty")) .check_claim(CustomClaim::try_from(("Contestant", "Earth"))?) - .validate_claim(CustomClaim::try_from("Universe")?, &|key, value| { + .validate_claim(CustomClaim::try_from("Universe")?, &|key, value| { //let's get the value let universe = value .as_u64()