Remove resolved FIXME

This commit is contained in:
Jonas Schievink 2020-12-19 02:32:31 +01:00
parent 83a2725828
commit 0ac75f8982

View File

@ -258,7 +258,6 @@ pub fn by_key(&self, key: &'static str) -> AttrQuery<'_> {
}
pub fn cfg(&self) -> Option<CfgExpr> {
// FIXME: handle cfg_attr :-)
let mut cfgs = self.by_key("cfg").tt_values().map(CfgExpr::parse).collect::<Vec<_>>();
match cfgs.len() {
0 => None,