1
0
Fork 0
mirror of https://github.com/actix/actix-web.git synced 2025-04-03 08:39:36 +00:00

Fix typo in actix_web::web::Data::get_ref docstring

This commit is contained in:
Joe Roberts 2019-06-17 18:34:57 +01:00 committed by GitHub
parent ad0e6f73b3
commit 5a5b859346
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -73,7 +73,7 @@ impl<T> Data<T> {
Data(Arc::new(state))
}
/// Get referecnce to inner app data.
/// Get reference to inner app data.
pub fn get_ref(&self) -> &T {
self.0.as_ref()
}