chore (backend-rs): impl From<Acct> for String

This commit is contained in:
naskya 2024-05-11 04:54:30 +09:00
parent 8f8d62aa58
commit aa266d91e0
No known key found for this signature in database
GPG Key ID: 712D413B3A9FED5C
1 changed files with 3 additions and 3 deletions

View File

@ -42,9 +42,9 @@ impl fmt::Display for Acct {
}
}
impl Into<String> for Acct {
fn into(self) -> String {
self.to_string()
impl From<Acct> for String {
fn from(value: Acct) -> Self {
value.to_string()
}
}