提交 b20b6f87 编写于 作者: G Guillaume Gomez

Ignore more kind of items for doc examples

上级 10a880d2
......@@ -241,6 +241,10 @@ fn fold_item(&mut self, i: clean::Item) -> Option<clean::Item> {
| clean::TypedefItem(_, _)
| clean::StaticItem(_)
| clean::ConstantItem(_)
| clean::ExternCrateItem(_, _)
| clean::ImportItem(_)
| clean::PrimitiveItem(_)
| clean::KeywordItem(_)
);
find_testable_code(
&i.attrs.doc_strings.iter().map(|d| d.as_str()).collect::<Vec<_>>().join("\n"),
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册