From bdeb152016ae55c1b8d6b8d75bc4f63318efd8ce Mon Sep 17 00:00:00 2001 From: Ali Koca Date: Sat, 10 Jun 2023 10:04:02 +0300 Subject: [PATCH] lib.rs doc comment: .auth() method isn't expressed Updated with new doc comment --- src/lib.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/lib.rs b/src/lib.rs index 5cd2428..84c5d1f 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -36,9 +36,13 @@ impl Firebase { } /// ``` + /// const URI = "..."; + /// const AUTH_KEY = "..."; + /// /// use firebase_rs::Firebase; /// /// let firebase = Firebase::new("https://myfirebase.firebaseio.com").unwrap(); + /// let parsed = firebase.auth(URI, AUTH_KEY); /// ``` pub fn auth(uri: &str, auth_key: &str) -> UrlParseResult where