diff options
author | Vincent Ambo <tazjin@google.com> | 2020-05-23T03·43+0100 |
---|---|---|
committer | Vincent Ambo <tazjin@google.com> | 2020-05-23T05·18+0100 |
commit | da4ca4e02f59d8d69f9996bd8de2f20f72d1d5ff (patch) | |
tree | 553fe5528a19aff727295a33a2911fd5bd267b74 /third_party/nix/src/libexpr/eval.cc | |
parent | 92792264f78ce95c08fdd802110ddad7956c0758 (diff) |
chore(3p/nix/libexpr): Minor readability improvements in eval/value r/820
Diffstat (limited to 'third_party/nix/src/libexpr/eval.cc')
-rw-r--r-- | third_party/nix/src/libexpr/eval.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/third_party/nix/src/libexpr/eval.cc b/third_party/nix/src/libexpr/eval.cc index c654faa76cfa..b406854f4e20 100644 --- a/third_party/nix/src/libexpr/eval.cc +++ b/third_party/nix/src/libexpr/eval.cc @@ -815,8 +815,8 @@ void ExprAttrs::eval(EvalState& state, Env& env, Value& value) { size_t displ = 0; for (auto& attr : attrs) { Value* vAttr; - vAttr = attr.second.e->maybeThunk(state, - attr.second.inherited ? env : env2); + vAttr = + attr.second.e->maybeThunk(state, attr.second.inherited ? env : env2); env2.values[displ++] = vAttr; value.attrs->push_back(Attr(attr.first, vAttr, &attr.second.pos)); } |