mirror of
https://github.com/actix/actix-web.git
synced 2024-11-26 03:21:08 +00:00
docs: align App:app_data arg name
This commit is contained in:
parent
dd84bcb609
commit
5c18569b78
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue