about summary refs log tree commit diff
path: root/tvix/eval/src/value/string.rs
diff options
context:
space:
mode:
authorVincent Ambo <mail@tazj.in>2022-08-11T09·15+0300
committertazjin <tazjin@tvl.su>2022-08-25T12·07+0000
commita0cbc78a8330941b43a6aec00e1f3b8d72eb0f81 (patch)
treebd48043e13af7c98ffdc9cae618deb288b890e1c /tvix/eval/src/value/string.rs
parent9407af5684ca5602df51c4edddc428db7fc98417 (diff)
refactor(tvix/value): ensure internal attrs representation is hidden r/4481
Wraps the attrs representation in an additional newtype struct with a
private field in order to hide the representation from other modules.

This is done in order to avoid accidental leakage of the internals
outside of value::attrs.

Change-Id: I68d1d02514aa0443df4c39801001a3f1f6cc5d5c
Reviewed-on: https://cl.tvl.fyi/c/depot/+/6146
Tested-by: BuildkiteCI
Reviewed-by: sterni <sternenseemann@systemli.org>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions