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
+6
View File
@@ -1,3 +1,9 @@
//! Run with
//!
//! ```not_rust
//! cargo run --example unix_domain_socket
//! ```
use axum::{
extract::connect_info::{self, ConnectInfo},
prelude::*,