README example rendering doesn't hide lines #8325
Labels
A-backend ⚙️
C-enhancement ✨
Category: Adding new behavior or a change to the way an existing feature works
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: