From e99a822995c80e1f95c5f7a69e0d8c5d131af20f Mon Sep 17 00:00:00 2001 From: mat Date: Sun, 4 Dec 2022 20:58:14 -0600 Subject: change to_ansi to not take args --- azalea-client/src/ping.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'azalea-client/src') diff --git a/azalea-client/src/ping.rs b/azalea-client/src/ping.rs index ed4197ba..289622b6 100755 --- a/azalea-client/src/ping.rs +++ b/azalea-client/src/ping.rs @@ -40,7 +40,7 @@ pub enum PingError { /// #[tokio::main] /// async fn main() { /// let response = ping::ping_server("play.hypixel.net").await.unwrap(); -/// println!("{}", response.description.to_ansi(None)); +/// println!("{}", response.description.to_ansi()); /// } /// ``` pub async fn ping_server( -- cgit v1.2.3