Skip to content

Commit

Permalink
Modify docs
Browse files Browse the repository at this point in the history
  • Loading branch information
dxx committed Jun 5, 2022
1 parent b8c5127 commit 85ff969
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
//! Add `feignhttp` in your `Cargo.toml` and use default feature:
//!
//! ```toml
//! feignhttp = { version = "0.3" }
//! feignhttp = { version = "0.4" }
//! ```
//!
//! Then add the following code:
Expand All @@ -77,7 +77,7 @@
//! Using non-default HTTP backend:
//!
//! ```toml
//! feignhttp = { version = "0.3", default-features = false, features = ["isahc-client"] }
//! feignhttp = { version = "0.4", default-features = false, features = ["isahc-client"] }
//! ```
//!
//! The `default-features = false` option disable default reqwest.
Expand Down Expand Up @@ -435,7 +435,7 @@
//! ## Error Handling
//!
//! FeignHTTP use [`feignhttp::Result`](https://docs.rs/feignhttp/latest/feignhttp/type.Result.html) to receive return result. The error is
//! [`Error`](https://docs.rs/feignhttp/latest/feignhttp/struct.Error.html) structure which has some error kinds and some useful methods.
//! [`Error`](https://docs.rs/feignhttp/latest/feignhttp/struct.Error.html) struct which has some error kinds and some useful methods.
//! [`ErrorKind`](https://docs.rs/feignhttp/latest/feignhttp/enum.ErrorKind.html) is used to indicate an error type.
//!
//! Url is incorrect:
Expand Down

0 comments on commit 85ff969

Please sign in to comment.