mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-29 20:46:07 +03:00
096efc29f1
This rule was added (actually, it was called `#main > .since` back then) withcdca084377and you can see an example of the bug it's intended to fix in <https://doc.rust-lang.org/1.9.0/std/fmt/fn.write.html> by looking at the `1.0.0` version marker. However,a5a2f2b951changed it so that `<span class="since">` is always placed in an out-of-band wrapper, so it's never nested directly below `#main` / `#main-content` any more.
For more information about how librustdoc works, see the rustc dev guide.