1
0
mirror of https://github.com/actix/actix-extras.git synced 2025-09-02 21:16:37 +02:00

chore: fix cspell config

This commit is contained in:
Rob Ede
2025-08-26 08:17:17 +01:00
parent b327ec5c71
commit 21a96a0319
16 changed files with 162 additions and 46727 deletions

View File

@@ -1,4 +1,4 @@
//! Configuration options to tune the behaviour of [`SessionMiddleware`].
//! Configuration options to tune the behavior of [`SessionMiddleware`].
use actix_web::cookie::{time::Duration, Key, SameSite};
use derive_more::derive::From;
@@ -344,7 +344,7 @@ impl<Store: SessionStore> SessionMiddlewareBuilder<Store> {
self
}
/// Finalise the builder and return a [`SessionMiddleware`] instance.
/// Finalize the builder and return a [`SessionMiddleware`] instance.
#[must_use]
pub fn build(self) -> SessionMiddleware<Store> {
SessionMiddleware::from_parts(self.storage_backend, self.configuration)

View File

@@ -76,7 +76,7 @@ use crate::{
/// }
/// ```
///
/// If you want to customise use [`builder`](Self::builder) instead of [`new`](Self::new):
/// If you want to customize use [`builder`](Self::builder) instead of [`new`](Self::new):
///
/// ```no_run
/// use actix_web::{App, cookie::{Key, time}, Error, HttpResponse, HttpServer, web};
@@ -96,7 +96,7 @@ use crate::{
///
/// HttpServer::new(move || {
/// App::new()
/// // Customise session length!
/// // Customize session length!
/// .wrap(
/// SessionMiddleware::builder(storage.clone(), secret_key.clone())
/// .session_lifecycle(