aboutsummaryrefslogtreecommitdiff
path: root/azalea-auth
diff options
context:
space:
mode:
Diffstat (limited to 'azalea-auth')
-rwxr-xr-xazalea-auth/README.md2
-rwxr-xr-xazalea-auth/src/game_profile.rs2
2 files changed, 3 insertions, 1 deletions
diff --git a/azalea-auth/README.md b/azalea-auth/README.md
index 568a9f88..a35fee1f 100755
--- a/azalea-auth/README.md
+++ b/azalea-auth/README.md
@@ -4,7 +4,7 @@ A port of Mojang's Authlib and launcher authentication.
# Examples
-```
+```no_run
use std::path::PathBuf;
#[tokio::main]
diff --git a/azalea-auth/src/game_profile.rs b/azalea-auth/src/game_profile.rs
index 12815821..6a34a87b 100755
--- a/azalea-auth/src/game_profile.rs
+++ b/azalea-auth/src/game_profile.rs
@@ -5,7 +5,9 @@ use uuid::Uuid;
#[derive(McBuf, Debug, Clone, Default, Eq, PartialEq)]
pub struct GameProfile {
+ /// The UUID of the player.
pub uuid: Uuid,
+ /// The username of the player.
pub name: String,
pub properties: HashMap<String, ProfilePropertyValue>,
}