From 1587c501f354372221b4ca7e5ffe3ec010bdf86b Mon Sep 17 00:00:00 2001 From: Kenneth Allen Date: Mon, 23 May 2022 15:48:45 +1000 Subject: [PATCH] Fix typo in 0.5 upgrade guide. --- site/guide/01-upgrading-from-0.4.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/site/guide/01-upgrading-from-0.4.md b/site/guide/01-upgrading-from-0.4.md index 0abd80bb..d94fd087 100644 --- a/site/guide/01-upgrading-from-0.4.md +++ b/site/guide/01-upgrading-from-0.4.md @@ -298,7 +298,7 @@ use rocket::tokio::task; use rocket::response::Debug; #[get("/")] -async fn exepensive() -> Result<(), Debug> { +async fn expensive() -> Result<(), Debug> { let result = task::spawn_blocking(move || { // perform the computation }).await?;