File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -833,7 +833,7 @@ impl ItemEnum {
833833 /// Get just the kind of this item, but with no further data.
834834 ///
835835 /// ```rust
836- /// # use rustdoc_json_types ::{ItemKind, ItemEnum};
836+ /// # use rustdoc_types ::{ItemKind, ItemEnum};
837837 /// let item = ItemEnum::ExternCrate { name: "libc".to_owned(), rename: None };
838838 /// assert_eq!(item.item_kind(), ItemKind::ExternCrate);
839839 /// ```
Original file line number Diff line number Diff line change @@ -22,6 +22,7 @@ repo="rust"
2222
2323curl -# https://raw.githubusercontent.com/${user} /${repo} /${ref} /src/rustdoc-json-types/lib.rs \
2424 | sed ' /^pub type FxHashMap.*$/d' \
25+ | sed ' s/rustdoc_json_types/rustdoc_types/g' \
2526 > src/lib.rs
2627
2728curl -# https://raw.githubusercontent.com/${user} /${repo} /${ref} /src/rustdoc-json-types/tests.rs > src/tests.rs
You can’t perform that action at this time.
0 commit comments