Skip to content

Commit

Permalink
fix clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
toger5 committed Nov 13, 2024
1 parent cccf7a0 commit 6b3af4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/matrix-sdk/src/widget/machine/from_widget.rs
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ impl From<String> for FromWidgetErrorResponse {

impl From<&str> for FromWidgetErrorResponse {
fn from(error: &str) -> Self {
error.to_string().into()
error.to_owned().into()
}
}

Expand Down

0 comments on commit 6b3af4e

Please sign in to comment.