mirror of
https://github.com/dlang/phobos.git
synced 2025-04-29 06:30:28 +03:00
Remove useless lambda
This commit is contained in:
parent
861d6cde49
commit
c7d98fd96d
1 changed files with 1 additions and 1 deletions
|
@ -2325,7 +2325,7 @@ struct Appender(A : T[], T)
|
|||
immutable len = _data.arr.length;
|
||||
immutable reqlen = len + nelems;
|
||||
|
||||
if (()@trusted{ return _data.capacity; }() >= reqlen)
|
||||
if (_data.capacity >= reqlen)
|
||||
return;
|
||||
|
||||
// need to increase capacity
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue