mirror of
https://github.com/tokio-rs/axum.git
synced 2026-08-23 00:00:15 +02:00
Fix typos found by typos-cli (#113)
This commit is contained in:
+1
-1
@@ -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),
|
||||
))
|
||||
}),
|
||||
),
|
||||
|
||||
@@ -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),
|
||||
))
|
||||
})),
|
||||
)
|
||||
|
||||
@@ -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),
|
||||
))
|
||||
}),
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user