Skip to content

Commit

Permalink
Minor fix (#202)
Browse files Browse the repository at this point in the history
  • Loading branch information
3tilley authored Oct 13, 2023
1 parent 933458c commit 17e230d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tutorials/rest-http-service-with-axum.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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<i32>
) -> impl IntoResponse {
let string = format!("Hello world {}!");
let string = format!("Hello world {}!", id);

(StatusCode::OK, string)
}
Expand Down

0 comments on commit 17e230d

Please sign in to comment.