Skip to content

Commit eba1b13

Browse files
hir: Fix warnings about clippy str_to_string rule
1 parent d580b2c commit eba1b13

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/hir/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1933,7 +1933,7 @@ impl Function {
19331933
};
19341934
let (result, output) = interpret_mir(db, body, false, None);
19351935
let mut text = match result {
1936-
Ok(_) => "pass".to_string(),
1936+
Ok(_) => "pass".to_owned(),
19371937
Err(e) => {
19381938
let mut r = String::new();
19391939
_ = e.pretty_print(&mut r, db, &span_formatter);

0 commit comments

Comments
 (0)