From f7aa425abf67c4aaa34582ad102d6e2cfb60ed70 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Leon=20Gr=C3=BCnewald?= Date: Wed, 3 Jan 2024 16:04:27 +0100 Subject: [PATCH] Add missing pub --- src/client.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client.rs b/src/client.rs index ba7c8c3..e56c84b 100644 --- a/src/client.rs +++ b/src/client.rs @@ -109,7 +109,7 @@ impl Client { /// let post = esix_client.get_post(1337).await?; ///} /// ``` - async fn get_post(&mut self, post_id: Id) -> Result { + pub async fn get_post(&mut self, post_id: Id) -> Result { self.request_limiter().await; let res = self.get_post_raw(post_id).await?; let text = res.text().await?;