We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 437ec01 commit 1a07b2fCopy full SHA for 1a07b2f
crates/evm/traces/src/debug/sources.rs
@@ -42,7 +42,7 @@ impl SourceData {
42
match language {
43
MultiCompilerLanguage::Vyper(_) => {
44
// Vyper contracts have the same name as the file name.
45
- if let Some(name) = path.file_stem().map(|s| s.to_string_lossy().to_string()) {
+ if let Some(name) = path.file_stem().map(|s| s.to_string_lossy().into_owned()) {
46
contract_definitions.push((name, 0..source.len()));
47
}
48
0 commit comments