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:
David Pedersen
2021-08-02 23:09:09 +02:00
committed by GitHub
parent 6a078ddb71
commit 9fbababc3a
18 changed files with 117 additions and 15 deletions
@@ -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)]