Fix old RiotApi::with_config doc link

This commit is contained in:
Mingwei Samuel 2021-12-29 11:17:11 -08:00
parent d05f89c0d4
commit 9478e3f95e

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,