about summary refs log tree commit diff
path: root/tvix/derivation/src/lib.rs
diff options
context:
space:
mode:
authorProfpatsch <mail@profpatsch.de>2023-01-02T00·34+0100
committerclbot <clbot@tvl.fyi>2023-01-02T02·18+0000
commite6862413ca032acc94615bd969c8fec49a1a1dc5 (patch)
tree7e0a39e799246d23e79d2b4f17be56fbd2ab8e6b /tvix/derivation/src/lib.rs
parent1b003db7250949e2589336220ce162bf0b7b6fe3 (diff)
feat(users/Profpatsch/my-prelude): show Label name in Show instance r/5563
Before:

`show (label @"foo" 23) => "Label 23"`

Now:

`show (label @"foo" 42) => "Label @"foo" 42"

Also with good bracketing due to showsPrec (and correct string
escaping of the label).

Change-Id: Ia5448ab9028ef5ab6c0b53407fe4df1d0e40ff5f
Reviewed-on: https://cl.tvl.fyi/c/depot/+/7719
Reviewed-by: Profpatsch <mail@profpatsch.de>
Autosubmit: Profpatsch <mail@profpatsch.de>
Tested-by: BuildkiteCI
Diffstat (limited to 'tvix/derivation/src/lib.rs')
0 files changed, 0 insertions, 0 deletions