diff options
Diffstat (limited to 'crates/hir_def/src/attr.rs')
-rw-r--r-- | crates/hir_def/src/attr.rs | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/crates/hir_def/src/attr.rs b/crates/hir_def/src/attr.rs index 18525406c..d1ed23947 100644 --- a/crates/hir_def/src/attr.rs +++ b/crates/hir_def/src/attr.rs | |||
@@ -258,7 +258,6 @@ impl Attrs { | |||
258 | } | 258 | } |
259 | 259 | ||
260 | pub fn cfg(&self) -> Option<CfgExpr> { | 260 | pub fn cfg(&self) -> Option<CfgExpr> { |
261 | // FIXME: handle cfg_attr :-) | ||
262 | let mut cfgs = self.by_key("cfg").tt_values().map(CfgExpr::parse).collect::<Vec<_>>(); | 261 | let mut cfgs = self.by_key("cfg").tt_values().map(CfgExpr::parse).collect::<Vec<_>>(); |
263 | match cfgs.len() { | 262 | match cfgs.len() { |
264 | 0 => None, | 263 | 0 => None, |