mirror of
https://github.com/mat-1/azalea.git
synced 2025-08-02 14:26:04 +00:00
fix a doctest
This commit is contained in:
parent
a3897bbde3
commit
63e5bd4cfe
1 changed files with 1 additions and 1 deletions
|
@ -173,7 +173,7 @@ impl Client {
|
||||||
/// #[tokio::main]
|
/// #[tokio::main]
|
||||||
/// async fn main() -> Result<(), Box<dyn std::error::Error>> {
|
/// async fn main() -> Result<(), Box<dyn std::error::Error>> {
|
||||||
/// let account = Account::offline("bot");
|
/// let account = Account::offline("bot");
|
||||||
/// let (client, rx) = Client::join(&account, "localhost").await?;
|
/// let (client, rx) = Client::join(account, "localhost").await?;
|
||||||
/// client.chat("Hello, world!");
|
/// client.chat("Hello, world!");
|
||||||
/// client.disconnect();
|
/// client.disconnect();
|
||||||
/// Ok(())
|
/// Ok(())
|
||||||
|
|
Loading…
Add table
Reference in a new issue