mirror of
https://github.com/tokio-rs/axum.git
synced 2026-09-07 00:00:12 +02:00
Make it clear how to run all examples (#92)
* Handle errors in websocket example * Make it clear how to run all examples
This commit is contained in:
@@ -1,5 +1,11 @@
|
||||
//! Example showing how to convert errors into responses and how one might do
|
||||
//! dependency injection using trait objects.
|
||||
//!
|
||||
//! Run with
|
||||
//!
|
||||
//! ```not_rust
|
||||
//! cargo run --example error_handling_and_dependency_injection
|
||||
//! ```
|
||||
|
||||
#![allow(dead_code)]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user