mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-28 14:03:35 +00:00
Merge #6943
6943: Remove resolved FIXME r=jonas-schievink a=jonas-schievink bors r+ Co-authored-by: Jonas Schievink <jonasschievink@gmail.com>
This commit is contained in:
commit
e47e7a0143
1 changed files with 0 additions and 1 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue