From 766aed7c75f90d175ae4cead56bc10afa7105ffc Mon Sep 17 00:00:00 2001 From: robjtede Date: Sun, 9 Jun 2024 22:25:16 +0000 Subject: [PATCH] =?UTF-8?q?Deploying=20to=20gh-pages=20from=20@=20actix/ac?= =?UTF-8?q?tix-extras@433c9265035b60e081f88b8a3c7cc0fd339bef4d=20?= =?UTF-8?q?=F0=9F=9A=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- help.html | 2 +- settings.html | 2 +- src/actix_cors/builder.rs.html | 2 +- src/actix_limitation/lib.rs.html | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/help.html b/help.html index bbbb6073e..e458d41a4 100644 --- a/help.html +++ b/help.html @@ -1 +1 @@ -Help

Rustdoc help

Back
\ No newline at end of file +Help

Rustdoc help

Back
\ No newline at end of file diff --git a/settings.html b/settings.html index 1af8ebacc..6ceba137c 100644 --- a/settings.html +++ b/settings.html @@ -1 +1 @@ -Settings

Rustdoc settings

Back
\ No newline at end of file +Settings

Rustdoc settings

Back
\ No newline at end of file diff --git a/src/actix_cors/builder.rs.html b/src/actix_cors/builder.rs.html index 667bde3c2..643ee469c 100644 --- a/src/actix_cors/builder.rs.html +++ b/src/actix_cors/builder.rs.html @@ -896,7 +896,7 @@ /// See [`Cors::allowed_methods`] for more info on allowed methods. pub fn allow_any_method(mut self) -> Cors { if let Some(cors) = cors(&mut self.inner, &self.error) { - cors.allowed_methods = ALL_METHODS_SET.clone(); + ALL_METHODS_SET.clone_into(&mut cors.allowed_methods); } self diff --git a/src/actix_limitation/lib.rs.html b/src/actix_limitation/lib.rs.html index cd04fb717..c10fc18a5 100644 --- a/src/actix_limitation/lib.rs.html +++ b/src/actix_limitation/lib.rs.html @@ -318,7 +318,7 @@ let key = key.into(); let expires = self.period.as_secs(); - let mut connection = self.client.get_tokio_connection().await?; + let mut connection = self.client.get_multiplexed_tokio_connection().await?; // The seed of this approach is outlined Atul R in a blog post about rate limiting using // NodeJS and Redis. For more details, see https://blog.atulr.com/rate-limiter