Skip to content

Commit

Permalink
Revert old solution
Browse files Browse the repository at this point in the history
  • Loading branch information
TrialDragon committed Mar 8, 2024
1 parent 2c55fd1 commit 2f937e3
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions tools/example-showcase/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -692,12 +692,7 @@ fn parse_examples() -> Vec<Example> {
path: val["path"].as_str().unwrap().to_string(),
name: metadata["name"].as_str().unwrap().to_string(),
description: metadata["description"].as_str().unwrap().to_string(),
category: metadata["category"]
.as_str()
.unwrap()
.replace(['(', ')'], "")
.to_lowercase()
.replace([' '], "-"),
category: metadata["category"].as_str().unwrap().to_string(),
wasm: metadata["wasm"].as_bool().unwrap(),
required_features: val
.get("required-features")
Expand Down

0 comments on commit 2f937e3

Please sign in to comment.