client: Fix tests under client-api feature flag

This commit is contained in:
Jonas Platte 2021-12-21 09:48:08 +01:00
parent 90be9acf08
commit f161c8117c
No known key found for this signature in database
GPG Key ID: 7D261D771D915378
2 changed files with 2 additions and 1 deletions

View File

@ -55,3 +55,4 @@ serde_json = "1.0.61"
[dev-dependencies]
ruma-client-api = { version = "0.12.3", path = "../ruma-client-api", features = ["client"] }
tokio-stream = "0.1.8"

View File

@ -86,7 +86,7 @@ impl<C: HttpClient> Client<C> {
/// use std::time::Duration;
///
/// # type MatrixClient = ruma_client::Client<ruma_client::http_client::Dummy>;
/// # use ruma::presence::PresenceState;
/// # use ruma_common::presence::PresenceState;
/// # use tokio_stream::{StreamExt as _};
/// # let homeserver_url = "https://example.com".parse().unwrap();
/// # let client = MatrixClient::new(homeserver_url, None);