diff options
Diffstat (limited to 'azalea-protocol/src/connect.rs')
| -rw-r--r-- | azalea-protocol/src/connect.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/azalea-protocol/src/connect.rs b/azalea-protocol/src/connect.rs index 85fc643e..e6a7142d 100644 --- a/azalea-protocol/src/connect.rs +++ b/azalea-protocol/src/connect.rs @@ -99,7 +99,7 @@ pub struct WriteConnection<W: ProtocolPacket> { /// /// // login /// conn.write(ServerboundHello { -/// name: "bot".to_string(), +/// name: "bot".to_owned(), /// profile_id: uuid::Uuid::nil(), /// }) /// .await?; |
