summaryrefslogtreecommitdiff
path: root/src/playerid.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/playerid.rs')
-rw-r--r--src/playerid.rs3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/playerid.rs b/src/playerid.rs
index aeaf814..08e31d2 100644
--- a/src/playerid.rs
+++ b/src/playerid.rs
@@ -5,9 +5,6 @@ pub struct PlayerId {
}
impl PlayerId {
- pub fn from_str(name: &str) -> Self {
- Self {name: name.to_string()}
- }
pub fn to_string(&self) -> String {
self.name.clone()
}