←
rust-analyzer
README.md
dnf.rs
+
←
crates/cfg/src/dnf.re
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
add
//! Disjunctive Norm
//!
//! Algorithm from <
//! which would have
//! entire "distribu
//!
//! This is currentl
use std::fmt:: {self, write};
use rustc_hash:: FxHashSet;
use crate:: {CfgAtom, CfgDiff, CfgExpr, CfgOptions, Inactive Reason
/// A `#[cfg]` directive in Disjunctive Normal Form (DNF).
pub struct DnfExpr {
conjunctions: Vec<Conjunction>,
}
struct Conjunction {
literals: Vec<Literal>,
}
struct Literal {
negate: bool,
dock: add tab to dock
editor: add selection above
editor: add selection below
workspace: add folder to project
dock: expand dock
rust-analyzer zsh
rust-analyzer %
escape
p
up
20,15 Rust
Explanation
The image shows a code editor with a Rust file open. The filename is dnf.rs. The code contains structs `DnfExpr`, `Conjunction` and `Literal`. The editor has a popup window open with code completion suggestions for the word "add". There are suggestions for dock, editor and workspace actions.