Skip to content

Commit 6b3af4e

Browse files
committed
fix clippy
1 parent cccf7a0 commit 6b3af4e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/matrix-sdk/src/widget/machine/from_widget.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ impl From<String> for FromWidgetErrorResponse {
8787

8888
impl From<&str> for FromWidgetErrorResponse {
8989
fn from(error: &str) -> Self {
90-
error.to_string().into()
90+
error.to_owned().into()
9191
}
9292
}
9393

0 commit comments

Comments
 (0)