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
Thanks for the report! I understand this is a bit confusing, but it is mostly working as intended. The commonmark spec specifies that indented text is a code block. Rustdoc by default treats all code blocks as "rust" code unless otherwise specified.
I'm going to close since this has been reported before. Closing as a duplicate of #64162, #59867, #88590, #100225.
I tried this code:
I expected to see this happen when running
cargo test
: nothingInstead, this happened: thread 'main' panicked at 'explicit panic', src/lib.rs:3:1
Meta
rustc --version --verbose
:The text was updated successfully, but these errors were encountered: