mirror of
https://github.com/actix/actix-web.git
synced 2024-12-21 23:56:35 +00:00
Fix typo in actix_web::web::Data::get_ref docstring
(#921)
This commit is contained in:
parent
ad0e6f73b3
commit
d7780d53c9
1 changed files with 1 additions and 1 deletions
|
@ -73,7 +73,7 @@ impl<T> Data<T> {
|
||||||
Data(Arc::new(state))
|
Data(Arc::new(state))
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Get referecnce to inner app data.
|
/// Get reference to inner app data.
|
||||||
pub fn get_ref(&self) -> &T {
|
pub fn get_ref(&self) -> &T {
|
||||||
self.0.as_ref()
|
self.0.as_ref()
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue