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?;