server: doc cleanup
This commit is contained in:
parent
4da888b240
commit
c1496bf87b
@ -31,7 +31,7 @@ use tokio::{net::TcpListener, sync::Mutex};
|
|||||||
use tower_http::trace::{DefaultMakeSpan, TraceLayer};
|
use tower_http::trace::{DefaultMakeSpan, TraceLayer};
|
||||||
use tracing::info;
|
use tracing::info;
|
||||||
|
|
||||||
// Make our own error that wraps `anyhow::Error`.
|
// Make our own error that wraps `ServerError`.
|
||||||
struct AppError(letterbox_server::ServerError);
|
struct AppError(letterbox_server::ServerError);
|
||||||
|
|
||||||
// Tell axum how to convert `AppError` into a response.
|
// Tell axum how to convert `AppError` into a response.
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user