Skip to content

Commit c3236a2

Browse files
committed
Filter out pub use of FxHashMap.
1 parent 8d65286 commit c3236a2

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

COMMIT.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
b735547025dad853829a7dbf6b6697090e3f657c
1+
9028b5381b2867bcd4d9cd0ba95ff97607deaaf3

update.sh

+5-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,11 @@ user="rust-lang"
88
repo="rust"
99
branch="master"
1010

11-
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
11+
curl -# https://raw.githubusercontent.com/${user}/${repo}/${branch}/src/rustdoc-json-types/lib.rs \
12+
| sed 's/rustc_hash::/std::collections::/g' \
13+
| sed 's/FxHashMap/HashMap/g' \
14+
| sed 's/^pub use /use /' \
15+
> src/lib.rs
1216

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

0 commit comments

Comments
 (0)