From 5a5b859346ecf3d9e2e7453ed9484728d288a91a Mon Sep 17 00:00:00 2001 From: Joe Roberts Date: Mon, 17 Jun 2019 18:34:57 +0100 Subject: [PATCH] Fix typo in `actix_web::web::Data::get_ref docstring` --- src/data.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/data.rs b/src/data.rs index 9fd8b67fc..bd166b79c 100644 --- a/src/data.rs +++ b/src/data.rs @@ -73,7 +73,7 @@ impl Data { 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() }