diff options
| author | mat <github@matdoes.dev> | 2022-12-04 20:58:14 -0600 |
|---|---|---|
| committer | mat <github@matdoes.dev> | 2022-12-04 20:58:14 -0600 |
| commit | e99a822995c80e1f95c5f7a69e0d8c5d131af20f (patch) | |
| tree | fd0e2e4079a1afd0ba6278d32169511defc97d08 /azalea-client/src | |
| parent | a5aa8ea0c0c3ad38b6e3a1ada74ea3ce87f6edcf (diff) | |
| download | azalea-drasl-e99a822995c80e1f95c5f7a69e0d8c5d131af20f.tar.xz | |
change to_ansi to not take args
Diffstat (limited to 'azalea-client/src')
| -rwxr-xr-x | azalea-client/src/ping.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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( |
