about summary refs log tree commit diff
path: root/tvix/eval/src/chunk.rs
diff options
context:
space:
mode:
authorGriffin Smith <root@gws.fyi>2022-10-08T18·28-0400
committerclbot <clbot@tvl.fyi>2022-10-09T17·12+0000
commitd0f571dcc02c59c090cdca8779ca8835f091fd26 (patch)
treecbb62ead7446a57e1d8244ce818caf6c2b279927 /tvix/eval/src/chunk.rs
parent5174c2163730c683ca5c2a01be537c38173bab33 (diff)
refactor(tvix/eval): Use Display impl for Error message r/5072
This is generally more idiomatic (over just delegating to Debug), and
also allows us to avoid intermediate allocations if we ever end up
using error messages as part of larger strings (because we don't have to
allocate a full String for the return value).

Change-Id: I67e48b44570c72761ed0fcaded9ae4bf3fcbaacf
Reviewed-on: https://cl.tvl.fyi/c/depot/+/6896
Autosubmit: grfn <grfn@gws.fyi>
Reviewed-by: tazjin <tazjin@tvl.su>
Tested-by: BuildkiteCI
Diffstat (limited to 'tvix/eval/src/chunk.rs')
0 files changed, 0 insertions, 0 deletions