Add jsondocck tool, and use it for rustdoc JSON
This commit is contained in:
parent
f09fb488f7
commit
7715656edd
25 changed files with 546 additions and 820 deletions
6
src/test/rustdoc-json/structs/tuple.rs
Normal file
6
src/test/rustdoc-json/structs/tuple.rs
Normal file
|
@ -0,0 +1,6 @@
|
|||
// @has tuple.json "$.index.['0:3'].name" \"Tuple\"
|
||||
// @has - "$.index.['0:3'].visibility" \"public\"
|
||||
// @has - "$.index.['0:3'].kind" \"struct\"
|
||||
// @has - "$.index.['0:3'].inner.struct_type" \"tuple\"
|
||||
// @has - "$.index.['0:3'].inner.fields_stripped" true
|
||||
pub struct Tuple(u32, String);
|
Loading…
Add table
Add a link
Reference in a new issue