Skip to content

Commit 2ed0057

Browse files
committed
Clippy cleanup
1 parent f8af14a commit 2ed0057

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

crates/bitwarden-core/src/types.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@ impl TryInto<Vec<u8>> for Base64String {
2020
}
2121
}
2222

23-
impl Into<String> for Base64String {
24-
fn into(self) -> String {
25-
self.0
23+
impl From<Base64String> for String {
24+
fn from(val: Base64String) -> Self {
25+
val.0
2626
}
2727
}
2828

0 commit comments

Comments
 (0)