about summary refs log tree commit diff
path: root/users/Profpatsch/rust-crates.nix
diff options
context:
space:
mode:
authorProfpatsch <mail@profpatsch.de>2021-01-26T10·27+0100
committerProfpatsch <mail@profpatsch.de>2021-01-27T13·41+0000
commita044a870849d03b3a71df17e589112e0c228a06e (patch)
treebcc5880cd85f27d4a355e91e0573d97ba70a9ee8 /users/Profpatsch/rust-crates.nix
parent83465be599f2ed8d55dae0262156869fb78240a1 (diff)
fix(users/Profpatsch/netencode): remove Boxes in AST struct r/2147
Apparently HashMap and Vec already do internal boxing, so the extra
indirection in the value isn’t needed.

Then, in order to make things uniform, move the boxing of `Sum` into
the `Tag` value. No extra boxing in the recursion! \o/

Change-Id: Ic21d2e3e6ac0c6e1f045bf2c9d3e9c5af446fcff
Reviewed-on: https://cl.tvl.fyi/c/depot/+/2443
Reviewed-by: Profpatsch <mail@profpatsch.de>
Tested-by: BuildkiteCI
Diffstat (limited to 'users/Profpatsch/rust-crates.nix')
0 files changed, 0 insertions, 0 deletions