remove dbg!() call, unwrap on walkdir
This commit is contained in:
parent
0fd00aaf6a
commit
d6b1593d4c
1 changed files with 2 additions and 2 deletions
|
@ -13,7 +13,7 @@ fn export_stdlib() {
|
|||
|
||||
for entry in WalkDir::new(root)
|
||||
.into_iter()
|
||||
.filter_map(Result::ok)
|
||||
.map(Result::unwrap)
|
||||
.filter(|e| !e.file_type().is_dir())
|
||||
{
|
||||
let path: &Path = entry.path();
|
||||
|
@ -31,7 +31,7 @@ fn export_stdlib() {
|
|||
|
||||
fn export_metadata() {
|
||||
let path = "../zokrates_cli/Cargo.toml";
|
||||
let config: toml::Value = dbg!(toml::from_str(&fs::read_to_string(path).unwrap()).unwrap());
|
||||
let config: toml::Value = toml::from_str(&fs::read_to_string(path).unwrap()).unwrap();
|
||||
|
||||
let mut metadata = json::JsonValue::new_object();
|
||||
metadata
|
||||
|
|
Loading…
Reference in a new issue