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 @@ impl Attrs {
}
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,