You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would be happy to contribute here and open a PR for the same but want to clarify first that this issue is with documentation of rustdoc_types or issue with json generation
The text was updated successfully, but these errors were encountered:
Thanks for finding and reporting this! I've written up rust-lang/rust#134853 based on this. I'm going to close this issue in favor of that.
(As said there) I'm not sure if the right fix is in the documentation or the json generation. If you have thaughts on this, please post them.
If you want to contribute a fix to this (or any other improvement to rustdoc-json), that would be much appreciated. Just do it to the rust-lang/rust repo and r? me
The Path struct has a field name which is documented to only contain it's name without it's complete path, i.e.
Here, name field for the
StructField
,root_item
should beItem
but it isrustdoc_types::Item
.File used for docs: https://github.com/AS1100K/cargo-wiki/blob/main/src/generators/module_gen.rs
Generator Used: cargo-wiki, a cargo extension I am working on.
I would be happy to contribute here and open a PR for the same but want to clarify first that this issue is with documentation of
rustdoc_types
or issue with json generationThe text was updated successfully, but these errors were encountered: