fix: typo in docs

This commit is contained in:
pyrite 2025-08-07 16:37:10 +02:00
parent 8794c076b3
commit ac0cde0ad2
Signed by: pyrite
GPG key ID: 7F1BA9170CD35D15
2 changed files with 2 additions and 2 deletions

View file

@ -91,7 +91,7 @@ let basic = client.fetch(UserBasicRequest(UserId(1))).await.unwrap();
``` ```
### Implementing your own API executor ### 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 ## Safety
The crate is compiled with `#![forbid(unsafe_code)]`. The crate is compiled with `#![forbid(unsafe_code)]`.

View file

@ -97,7 +97,7 @@
//! ``` //! ```
//! //!
//! ### Implementing your own API executor //! ### 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 //! ## Safety
//! The crate is compiled with `#![forbid(unsafe_code)]`. //! The crate is compiled with `#![forbid(unsafe_code)]`.