Skip to content

Commit 988aae7

Browse files
alallemaMubelotix
andauthored
Update src/client.rs Adding good example
Co-authored-by: Mubelotix <[email protected]>
1 parent 5395183 commit 988aae7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/client.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -203,6 +203,7 @@ impl<'a> Client<'a> {
203203
/// # futures::executor::block_on(async move {
204204
/// let client = Client::new("http://localhost:7700", "masterKey");
205205
/// let health = client.is_healthy().await;
206+
/// assert_eq!(health, true);
206207
/// # });
207208
/// ```
208209
pub async fn is_healthy(&self) -> bool {

0 commit comments

Comments
 (0)