Fix doctest
This commit is contained in:
parent
4aef331886
commit
62afce2fd3
@ -13,7 +13,7 @@
|
|||||||
//! let client = Client::https(homeserver_url, None);
|
//! let client = Client::https(homeserver_url, None);
|
||||||
//!
|
//!
|
||||||
//! let session = client
|
//! let session = client
|
||||||
//! .log_in("@alice:example.com".to_string(), "secret".to_string(), None)
|
//! .log_in("@alice:example.com".to_string(), "secret".to_string(), None, None)
|
||||||
//! .await?;
|
//! .await?;
|
||||||
//!
|
//!
|
||||||
//! // You're now logged in! Write the session to a file if you want to restore it later.
|
//! // You're now logged in! Write the session to a file if you want to restore it later.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user