We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1cf7390 commit 9c6d291Copy full SHA for 9c6d291
crates/cargo-pvm-contract/src/scaffold.rs
@@ -267,11 +267,7 @@ target = "riscv64imac-unknown-none-elf"
267
Ok(())
268
}
269
270
-pub fn init_from_solidity_file(
271
- sol_file: &str,
272
- contract_name: &str,
273
- use_alloc: bool,
274
-) -> Result<()> {
+pub fn init_from_solidity_file(sol_file: &str, contract_name: &str, use_alloc: bool) -> Result<()> {
275
let sol_path = PathBuf::from(sol_file);
276
if !sol_path.exists() {
277
anyhow::bail!("Solidity file not found: {sol_file}");
0 commit comments