Polish the docs appearance

This commit is contained in:
Igor Aleksanov 2020-09-09 14:14:55 +03:00
parent 62aaf1fc4c
commit c946ee7b4e
1 changed files with 2 additions and 2 deletions

View File

@ -15,7 +15,7 @@
//! let mut client = awc::Client::default();
//! let response = client.get("https://www.rust-lang.org") // <- Create request builder
//! .header("User-Agent", "Actix-web")
//! .send() // <- Send http request
//! .send() // <- Send http request
//! .await?;
//!
//! println!("Response: {:?}", response);
@ -58,7 +58,7 @@
//! ```rust
//! # #[actix_rt::main]
//! # async fn main() -> Result<(), awc::error::SendRequestError> {
//! let mut request = serde_json::json!({
//! let request = serde_json::json!({
//! "lang": "rust",
//! "body": "json"
//! });