Skip to content

Commit 550ab88

Browse files
authored
Fix is_authorized doc comment (#319)
Closes #318.
1 parent 8a87bb2 commit 550ab88

File tree

1 file changed

+2
-2
lines changed
  • lib/grammers-client/src/client

1 file changed

+2
-2
lines changed

lib/grammers-client/src/client/auth.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -64,9 +64,9 @@ impl Client {
6464
/// ```
6565
/// # async fn f(client: grammers_client::Client) -> Result<(), Box<dyn std::error::Error>> {
6666
/// if client.is_authorized().await? {
67-
/// println!("Client is not authorized, you will need to sign_in!");
67+
/// println!("Client already authorized and ready to use!");
6868
/// } else {
69-
/// println!("Client already authorized and ready to use!")
69+
/// println!("Client is not authorized, you will need to sign_in!");
7070
/// }
7171
/// # Ok(())
7272
/// # }

0 commit comments

Comments
 (0)