Skip to content

Commit

Permalink
Merge pull request #22 from alimkoca/patch-1
Browse files Browse the repository at this point in the history
lib.rs doc comment: .auth() method isn't expressed
  • Loading branch information
emreyalvac authored Jul 9, 2023
2 parents 4b7d5ab + bdeb152 commit f1b4aa8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,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<Self>
where
Expand Down

0 comments on commit f1b4aa8

Please sign in to comment.