Skip to content

Commit 0c940d1

Browse files
committed
Clippy
1 parent 4025e5a commit 0c940d1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/compilers/src/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1076,7 +1076,7 @@ contract A {
10761076
// Replace contract A name to contract B
10771077
(80, 90, "contract B".to_string()),
10781078
// Remove function c()
1079-
(159, 222, "".to_string()),
1079+
(159, 222, String::new()),
10801080
// Replace function e() logic
10811081
(276, 296, "// no logic".to_string()),
10821082
]

0 commit comments

Comments
 (0)