1
0
mirror of https://github.com/fafhrd91/actix-web synced 2025-02-17 10:13:30 +01:00

docs: align App:app_data arg name

This commit is contained in:
Rob Ede 2024-06-07 14:17:10 +01:00
parent dd84bcb609
commit 5c18569b78
No known key found for this signature in database
GPG Key ID: 97C636207D3EF933

View File

@ -112,8 +112,8 @@ where
/// }) /// })
/// ``` /// ```
#[doc(alias = "manage")] #[doc(alias = "manage")]
pub fn app_data<U: 'static>(mut self, ext: U) -> Self { pub fn app_data<U: 'static>(mut self, data: U) -> Self {
self.extensions.insert(ext); self.extensions.insert(data);
self self
} }