Skip to content

Commit

Permalink
Filter out pub use of FxHashMap. (#30)
Browse files Browse the repository at this point in the history
  • Loading branch information
aDotInTheVoid committed Aug 17, 2024
1 parent 8d65286 commit 569b327
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion COMMIT.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
b735547025dad853829a7dbf6b6697090e3f657c
9028b5381b2867bcd4d9cd0ba95ff97607deaaf3
6 changes: 5 additions & 1 deletion update.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,11 @@ user="rust-lang"
repo="rust"
branch="master"

curl -# https://raw.githubusercontent.com/${user}/${repo}/${branch}/src/rustdoc-json-types/lib.rs | sed 's/rustc_hash::/std::collections::/g' | sed 's/FxHashMap/HashMap/g' > src/lib.rs
curl -# https://raw.githubusercontent.com/${user}/${repo}/${branch}/src/rustdoc-json-types/lib.rs \
| sed 's/rustc_hash::/std::collections::/g' \
| sed 's/FxHashMap/HashMap/g' \
| sed 's/^pub use /use /' \
> src/lib.rs

curl -# https://raw.githubusercontent.com/${user}/${repo}/${branch}/src/rustdoc-json-types/tests.rs > src/tests.rs

Expand Down

0 comments on commit 569b327

Please sign in to comment.