From 25f90ecfafcb1b2ee995268bff6cdd3b7ba21cb2 Mon Sep 17 00:00:00 2001 From: Awiteb Date: Mon, 12 Aug 2024 12:04:31 +0000 Subject: [PATCH] chore: Add `'static` lifetime to `CaptchaFinder` trait Signed-off-by: Awiteb --- src/finder/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/finder/mod.rs b/src/finder/mod.rs index b75c5b4..97e92fb 100644 --- a/src/finder/mod.rs +++ b/src/finder/mod.rs @@ -20,7 +20,7 @@ pub use header_finder::*; pub use query_finder::*; /// Trait to find the captcha token and answer from the request. -pub trait CaptchaFinder: Send + Sync { +pub trait CaptchaFinder: Send + Sync + 'static { /// Find the captcha token from the request. /// /// ### Returns