mirror of https://github.com/fafhrd91/actix-web
Polish the docs appearance
This commit is contained in:
parent
62aaf1fc4c
commit
c946ee7b4e
|
@ -58,7 +58,7 @@
|
||||||
//! ```rust
|
//! ```rust
|
||||||
//! # #[actix_rt::main]
|
//! # #[actix_rt::main]
|
||||||
//! # async fn main() -> Result<(), awc::error::SendRequestError> {
|
//! # async fn main() -> Result<(), awc::error::SendRequestError> {
|
||||||
//! let mut request = serde_json::json!({
|
//! let request = serde_json::json!({
|
||||||
//! "lang": "rust",
|
//! "lang": "rust",
|
||||||
//! "body": "json"
|
//! "body": "json"
|
||||||
//! });
|
//! });
|
||||||
|
|
Loading…
Reference in New Issue