Skip to content

Commit

Permalink
Appease clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
randomairborne committed Jan 11, 2025
1 parent a21ca01 commit 73fcbaf
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pyng/src/tokio/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,9 @@ pub trait AsyncPingable {
/// # Ok::<(), pyng::Error>(())
/// # };
/// ```
///
/// # Errors
/// If the server status cannot be recieved
pub async fn get_status<P: AsyncPingable + Send>(pingable: P) -> Result<(u64, P::Response), Error> {
pingable.ping().await
}
Expand Down

0 comments on commit 73fcbaf

Please sign in to comment.