fix: typo in docs
This commit is contained in:
parent
8794c076b3
commit
ac0cde0ad2
2 changed files with 2 additions and 2 deletions
|
|
@ -91,7 +91,7 @@ let basic = client.fetch(UserBasicRequest(UserId(1))).await.unwrap();
|
|||
```
|
||||
|
||||
### Implementing your own API executor
|
||||
If you don't wish to use reqwest, or want to use custom logic for which API to use, you have to implement the [`Executor`](https://docs.rs/torn-api/latest/torn_api/executor/trait.Executor.html) trait for your custom executor.
|
||||
If you don't wish to use reqwest, or want to use custom logic for which API key to use, you have to implement the [`Executor`](https://docs.rs/torn-api/latest/torn_api/executor/trait.Executor.html) trait for your custom executor.
|
||||
|
||||
## Safety
|
||||
The crate is compiled with `#![forbid(unsafe_code)]`.
|
||||
|
|
|
|||
|
|
@ -97,7 +97,7 @@
|
|||
//! ```
|
||||
//!
|
||||
//! ### Implementing your own API executor
|
||||
//! If you don't wish to use reqwest, or want to use custom logic for which API to use, you have to implement the [`Executor`](https://docs.rs/torn-api/latest/torn_api/executor/trait.Executor.html) trait for your custom executor.
|
||||
//! If you don't wish to use reqwest, or want to use custom logic for which API key to use, you have to implement the [`Executor`](https://docs.rs/torn-api/latest/torn_api/executor/trait.Executor.html) trait for your custom executor.
|
||||
//!
|
||||
//! ## Safety
|
||||
//! The crate is compiled with `#![forbid(unsafe_code)]`.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue