Fix old RiotApi::with_config doc link

pull/37/head
Mingwei Samuel 2021-12-29 11:17:11 -08:00
parent d05f89c0d4
commit 9478e3f95e
1 changed files with 1 additions and 1 deletions

View File

@ -44,7 +44,7 @@ use crate::util::InsertOnlyCHashMap;
/// of your rate limit without triggering 429 errors. /// of your rate limit without triggering 429 errors.
/// ///
/// To adjust rate limiting, see [RiotApiConfig] and use /// To adjust rate limiting, see [RiotApiConfig] and use
/// [`with_config(config)`](RiotApi::with_config) to construct an instance. /// [`RiotApi::new(config)`](RiotApi::new) to construct an instance.
pub struct RiotApi { pub struct RiotApi {
/// Configuration settings. /// Configuration settings.
config: RiotApiConfig, config: RiotApiConfig,