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 just looked at the crates.io page for my crate, service-skeleton, and noticed that the lines that I thought I'd hidden (using the standard rustdoc mechanism) are showing up in the rendering of the README (such as the line in the first example, under the "Usage" heading, that reads // Yes, this is cheating and the line before/after).
Expected Behavior
The lines that I'm trying to hide wouldn't show up in the README rendering on crates.io.
Yeah, I expect them to show up on GitHub, because it's not likely to understand rustdoc conventions. I figured crates.io, being a Rust-specific site, would be more likely to follow how rustdoc does things, but if not, I guess I'll just have to pull the examples out of the readme, or learn to live with it.
Current Behavior
I just looked at the crates.io page for my crate,
service-skeleton
, and noticed that the lines that I thought I'd hidden (using the standard rustdoc mechanism) are showing up in the rendering of the README (such as the line in the first example, under the "Usage" heading, that reads// Yes, this is cheating
and the line before/after).Expected Behavior
The lines that I'm trying to hide wouldn't show up in the README rendering on crates.io.
Steps To Reproduce
#
visible.Environment
No response
Anything else?
It's possible I've misunderstood how doctests work, in which case, my apologies, and I'd appreciate a pointer towards what I should be doing instead.
The text was updated successfully, but these errors were encountered: