diff --git a/tutorials/rest-http-service-with-axum.mdx b/tutorials/rest-http-service-with-axum.mdx index 1a5de8a..e4ab094 100644 --- a/tutorials/rest-http-service-with-axum.mdx +++ b/tutorials/rest-http-service-with-axum.mdx @@ -74,7 +74,7 @@ We can also utilise dynamic routing by using the Path type, allowing us to use t async fn hello_world( Path(id): Path ) -> impl IntoResponse { - let string = format!("Hello world {}!"); + let string = format!("Hello world {}!", id); (StatusCode::OK, string) }