mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-02 14:51:48 +00:00
Remove some redundant allocations
This commit is contained in:
parent
479d1f7eec
commit
26a1675764
10 changed files with 9 additions and 10 deletions
|
@ -30,7 +30,7 @@ impl DnfExpr {
|
|||
pub fn new(expr: CfgExpr) -> Self {
|
||||
let builder = Builder { expr: DnfExpr { conjunctions: Vec::new() } };
|
||||
|
||||
builder.lower(expr.clone())
|
||||
builder.lower(expr)
|
||||
}
|
||||
|
||||
/// Computes a list of present or absent atoms in `opts` that cause this expression to evaluate
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue