aboutsummaryrefslogtreecommitdiff
path: root/crates/hir_def/src
diff options
context:
space:
mode:
authorJonas Schievink <[email protected]>2020-12-19 01:32:31 +0000
committerJonas Schievink <[email protected]>2020-12-19 01:32:31 +0000
commit0ac75f89825478baf3ba744ccf4760e5918ec207 (patch)
tree79031d647dc0b20f750d1f29163d78887f071171 /crates/hir_def/src
parent83a272582864bec707365dd196b07d5cfdf59dc6 (diff)
Remove resolved FIXME
Diffstat (limited to 'crates/hir_def/src')
-rw-r--r--crates/hir_def/src/attr.rs1
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,