Skip to content

Commit

Permalink
Fix margin of rustdoc <code> tags
Browse files Browse the repository at this point in the history
  • Loading branch information
dtolnay committed Dec 26, 2024
1 parent 40b7366 commit e082577
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,79 +18,79 @@
//! # Selectors
//!
//! - <p style="margin-left:50px;text-indent:-50px">
//! <b><code>#[rustversion::stable]</code></b>
//! <b><code style="display:inline">#[rustversion::stable]</code></b>
//! —<br>
//! True on any stable compiler.
//! </p>
//!
//! - <p style="margin-left:50px;text-indent:-50px">
//! <b><code>#[rustversion::stable(1.34)]</code></b>
//! <b><code style="display:inline">#[rustversion::stable(1.34)]</code></b>
//! —<br>
//! True on exactly the specified stable compiler.
//! </p>
//!
//! - <p style="margin-left:50px;text-indent:-50px">
//! <b><code>#[rustversion::beta]</code></b>
//! <b><code style="display:inline">#[rustversion::beta]</code></b>
//! —<br>
//! True on any beta compiler.
//! </p>
//!
//! - <p style="margin-left:50px;text-indent:-50px">
//! <b><code>#[rustversion::nightly]</code></b>
//! <b><code style="display:inline">#[rustversion::nightly]</code></b>
//! —<br>
//! True on any nightly compiler or dev build.
//! </p>
//!
//! - <p style="margin-left:50px;text-indent:-50px">
//! <b><code>#[rustversion::nightly(2019-01-01)]</code></b>
//! <b><code style="display:inline">#[rustversion::nightly(2019-01-01)]</code></b>
//! —<br>
//! True on exactly one nightly.
//! </p>
//!
//! - <p style="margin-left:50px;text-indent:-50px">
//! <b><code>#[rustversion::since(1.34)]</code></b>
//! <b><code style="display:inline">#[rustversion::since(1.34)]</code></b>
//! —<br>
//! True on that stable release and any later compiler, including beta and
//! nightly.
//! </p>
//!
//! - <p style="margin-left:50px;text-indent:-50px">
//! <b><code>#[rustversion::since(2019-01-01)]</code></b>
//! <b><code style="display:inline">#[rustversion::since(2019-01-01)]</code></b>
//! —<br>
//! True on that nightly and all newer ones.
//! </p>
//!
//! - <p style="margin-left:50px;text-indent:-50px">
//! <b><code>#[rustversion::before(</code></b><i>version or date</i><b><code>)]</code></b>
//! <b><code style="display:inline">#[rustversion::before(</code></b><i>version or date</i><b><code style="display:inline">)]</code></b>
//! —<br>
//! Negative of <i>#[rustversion::since(...)]</i>.
//! </p>
//!
//! - <p style="margin-left:50px;text-indent:-50px">
//! <b><code>#[rustversion::not(</code></b><i>selector</i><b><code>)]</code></b>
//! <b><code style="display:inline">#[rustversion::not(</code></b><i>selector</i><b><code style="display:inline">)]</code></b>
//! —<br>
//! Negative of any selector; for example <i>#[rustversion::not(nightly)]</i>.
//! </p>
//!
//! - <p style="margin-left:50px;text-indent:-50px">
//! <b><code>#[rustversion::any(</code></b><i>selectors...</i><b><code>)]</code></b>
//! <b><code style="display:inline">#[rustversion::any(</code></b><i>selectors...</i><b><code style="display:inline">)]</code></b>
//! —<br>
//! True if any of the comma-separated selectors is true; for example
//! <i>#[rustversion::any(stable, beta)]</i>.
//! </p>
//!
//! - <p style="margin-left:50px;text-indent:-50px">
//! <b><code>#[rustversion::all(</code></b><i>selectors...</i><b><code>)]</code></b>
//! <b><code style="display:inline">#[rustversion::all(</code></b><i>selectors...</i><b><code style="display:inline">)]</code></b>
//! —<br>
//! True if all of the comma-separated selectors are true; for example
//! <i>#[rustversion::all(since(1.31), before(1.34))]</i>.
//! </p>
//!
//! - <p style="margin-left:50px;text-indent:-50px">
//! <b><code>#[rustversion::attr(</code></b><i>selector</i><b><code>, </code></b><i>attribute</i><b><code>)]</code></b>
//! <b><code style="display:inline">#[rustversion::attr(</code></b><i>selector</i><b><code style="display:inline">, </code></b><i>attribute</i><b><code style="display:inline">)]</code></b>
//! —<br>
//! For conditional inclusion of attributes; analogous to
//! <code>cfg_attr</code>.
//! <code style="display:inline">cfg_attr</code>.
//! </p>
//!
//! <br>
Expand Down

0 comments on commit e082577

Please sign in to comment.