internal: expose cfg attrs from hir::Crate

This commit is contained in:
Aleksey Kladov 2021-05-07 23:35:43 +03:00
parent ba86203987
commit 53f7149d45
4 changed files with 8 additions and 1 deletions

View file

@ -13,7 +13,7 @@ use tt::SmolStr;
pub use cfg_expr::{CfgAtom, CfgExpr};
pub use dnf::DnfExpr;
/// Configuration options used for conditional compilition on items with `cfg` attributes.
/// Configuration options used for conditional compilation on items with `cfg` attributes.
/// We have two kind of options in different namespaces: atomic options like `unix`, and
/// key-value options like `target_arch="x86"`.
///