Fix typos found by typos-cli (#113)

This commit is contained in:
Jonas Platte
2021-08-04 12:09:39 +02:00
committed by GitHub
parent 4e9b38ddf9
commit 015f6e0c21
7 changed files with 10 additions and 10 deletions
+1 -1
View File
@@ -24,7 +24,7 @@ async fn main() {
.handle_error(|error: std::io::Error| {
Ok::<_, std::convert::Infallible>((
StatusCode::INTERNAL_SERVER_ERROR,
format!("Unhandled interal error: {}", error),
format!("Unhandled internal error: {}", error),
))
}),
),
+1 -1
View File
@@ -18,7 +18,7 @@ async fn main() {
axum::service::get(ServeDir::new(".").handle_error(|error: std::io::Error| {
Ok::<_, std::convert::Infallible>((
StatusCode::INTERNAL_SERVER_ERROR,
format!("Unhandled interal error: {}", error),
format!("Unhandled internal error: {}", error),
))
})),
)
+1 -1
View File
@@ -33,7 +33,7 @@ async fn main() {
.handle_error(|error: std::io::Error| {
Ok::<_, std::convert::Infallible>((
StatusCode::INTERNAL_SERVER_ERROR,
format!("Unhandled interal error: {}", error),
format!("Unhandled internal error: {}", error),
))
}),
),