aboutsummaryrefslogtreecommitdiff
path: root/src/who.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/who.rs')
-rw-r--r--src/who.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/who.rs b/src/who.rs
index 32f536b..8e16765 100644
--- a/src/who.rs
+++ b/src/who.rs
@@ -33,9 +33,9 @@ impl From<&str> for Who {
}
}
-impl Into<String> for Who {
- fn into(self) -> String {
- self.name
+impl From<Who> for String {
+ fn from(val: Who) -> Self {
+ val.name
}
}