mirror of https://github.com/MingweiSamuel/Riven
Fix old RiotApi::with_config doc link
parent
d05f89c0d4
commit
9478e3f95e
|
@ -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,
|
||||||
|
|
Loading…
Reference in New Issue