From 9478e3f95e5c277f6ef588739bb8ca93d4b3d448 Mon Sep 17 00:00:00 2001 From: Mingwei Samuel Date: Wed, 29 Dec 2021 11:17:11 -0800 Subject: [PATCH] Fix old RiotApi::with_config doc link --- riven/src/riot_api.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/riven/src/riot_api.rs b/riven/src/riot_api.rs index 7dff9d8..67eab14 100644 --- a/riven/src/riot_api.rs +++ b/riven/src/riot_api.rs @@ -44,7 +44,7 @@ use crate::util::InsertOnlyCHashMap; /// of your rate limit without triggering 429 errors. /// /// 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 { /// Configuration settings. config: RiotApiConfig,