diff options
Diffstat (limited to 'crates/cfg/src')
-rw-r--r-- | crates/cfg/src/cfg_expr.rs | 2 | ||||
-rw-r--r-- | crates/cfg/src/lib.rs | 2 |
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 | ||
5 | use std::{fmt, slice::Iter as SliceIter}; | 5 | use 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)] |
27 | pub struct CfgOptions { | 27 | pub struct CfgOptions { |
28 | enabled: FxHashSet<CfgAtom>, | 28 | enabled: FxHashSet<CfgAtom>, |