diff --git a/src/lib.rs b/src/lib.rs index 501f8f2..977fa89 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -18,79 +18,79 @@ //! # Selectors //! //! -
-//! #[rustversion::stable]
+//! #[rustversion::stable]
//! —
//! True on any stable compiler.
//!
-//! #[rustversion::stable(1.34)]
+//! #[rustversion::stable(1.34)]
//! —
//! True on exactly the specified stable compiler.
//!
-//! #[rustversion::beta]
+//! #[rustversion::beta]
//! —
//! True on any beta compiler.
//!
-//! #[rustversion::nightly]
+//! #[rustversion::nightly]
//! —
//! True on any nightly compiler or dev build.
//!
-//! #[rustversion::nightly(2019-01-01)]
+//! #[rustversion::nightly(2019-01-01)]
//! —
//! True on exactly one nightly.
//!
-//! #[rustversion::since(1.34)]
+//! #[rustversion::since(1.34)]
//! —
//! True on that stable release and any later compiler, including beta and
//! nightly.
//!
-//! #[rustversion::since(2019-01-01)]
+//! #[rustversion::since(2019-01-01)]
//! —
//! True on that nightly and all newer ones.
//!
-//! #[rustversion::before(
version or date)]
+//! #[rustversion::before(
version or date)]
//! —
//! Negative of #[rustversion::since(...)].
//!
-//! #[rustversion::not(
selector)]
+//! #[rustversion::not(
selector)]
//! —
//! Negative of any selector; for example #[rustversion::not(nightly)].
//!
-//! #[rustversion::any(
selectors...)]
+//! #[rustversion::any(
selectors...)]
//! —
//! True if any of the comma-separated selectors is true; for example
//! #[rustversion::any(stable, beta)].
//!
-//! #[rustversion::all(
selectors...)]
+//! #[rustversion::all(
selectors...)]
//! —
//! True if all of the comma-separated selectors are true; for example
//! #[rustversion::all(since(1.31), before(1.34))].
//!
-//! #[rustversion::attr(
selector,
attribute)]
+//! #[rustversion::attr(
selector,
attribute)]
//! —
//! For conditional inclusion of attributes; analogous to
-//! cfg_attr
.
+//! cfg_attr
.
//!