mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-29 00:57:57 +00:00
Fix errors when compiling node-template (#4115)
This commit is contained in:
committed by
Bastian Köcher
parent
9e85e21993
commit
0d658ab286
@@ -88,7 +88,7 @@ fn replace_path_dependencies_with_git(cargo_toml_path: &Path, commit_id: &str, c
|
||||
// remove `Cargo.toml`
|
||||
cargo_toml_path.pop();
|
||||
|
||||
for table in &["dependencies", "build-dependencies"] {
|
||||
for &table in &["dependencies", "build-dependencies"] {
|
||||
let mut dependencies: toml::value::Table = match cargo_toml
|
||||
.remove(table)
|
||||
.and_then(|v| v.try_into().ok()) {
|
||||
|
||||
Reference in New Issue
Block a user