aboutsummaryrefslogtreecommitdiff
path: root/crates/cfg/src
diff options
context:
space:
mode:
authorJade <[email protected]>2021-06-14 05:57:10 +0100
committerJade <[email protected]>2021-06-14 05:58:05 +0100
commit20b325c7d50092cada3408aee958b3d523541f2c (patch)
tree5f8078106976c0573ef05861241f434fb5271891 /crates/cfg/src
parent660a89620f65225359559ddcaf158bdb9dfe0d4c (diff)
tree-wide: make rustdoc links spiky so they are clickable
Diffstat (limited to 'crates/cfg/src')
-rw-r--r--crates/cfg/src/cfg_expr.rs2
-rw-r--r--crates/cfg/src/lib.rs2
2 files changed, 2 insertions, 2 deletions
diff --git a/crates/cfg/src/cfg_expr.rs b/crates/cfg/src/cfg_expr.rs
index 069fc01d0..8a1a51e6e 100644
--- a/crates/cfg/src/cfg_expr.rs
+++ b/crates/cfg/src/cfg_expr.rs
@@ -1,6 +1,6 @@
1//! The condition expression used in `#[cfg(..)]` attributes. 1//! The condition expression used in `#[cfg(..)]` attributes.
2//! 2//!
3//! See: https://doc.rust-lang.org/reference/conditional-compilation.html#conditional-compilation 3//! See: <https://doc.rust-lang.org/reference/conditional-compilation.html#conditional-compilation>
4 4
5use std::{fmt, slice::Iter as SliceIter}; 5use std::{fmt, slice::Iter as SliceIter};
6 6
diff --git a/crates/cfg/src/lib.rs b/crates/cfg/src/lib.rs
index 59fd38880..03b8dd767 100644
--- a/crates/cfg/src/lib.rs
+++ b/crates/cfg/src/lib.rs
@@ -22,7 +22,7 @@ pub use dnf::DnfExpr;
22/// `foo` and `bar` are both enabled. And here, we store key-value options as a set of tuple 22/// `foo` and `bar` are both enabled. And here, we store key-value options as a set of tuple
23/// of key and value in `key_values`. 23/// of key and value in `key_values`.
24/// 24///
25/// See: https://doc.rust-lang.org/reference/conditional-compilation.html#set-configuration-options 25/// See: <https://doc.rust-lang.org/reference/conditional-compilation.html#set-configuration-options>
26#[derive(Debug, Clone, PartialEq, Eq, Default)] 26#[derive(Debug, Clone, PartialEq, Eq, Default)]
27pub struct CfgOptions { 27pub struct CfgOptions {
28 enabled: FxHashSet<CfgAtom>, 28 enabled: FxHashSet<CfgAtom>,