about summary refs log tree commit diff
path: root/tvix/nix-compat/src/lib.rs
diff options
context:
space:
mode:
authorBrian Olsen <brian@maven-group.org>2024-08-28T13·39+0200
committerclbot <clbot@tvl.fyi>2024-08-28T14·08+0000
commit743407e7abf9cf56274c8c9bcb1edb10d8f943ed (patch)
tree741568804ca3aaccfd9f036eda2c07384cab66bb /tvix/nix-compat/src/lib.rs
parent7bf6563da1b6c2989289c5a753e1dd806aae4570 (diff)
fix(tvix/nix-compat-derive): Fix doctest for Rust older than 1.80 r/8601
Exclusive range patterns were stabilized in Rust version 1.80 but Tvix
still uses Rust 1.79 and so would fail this one test when you ran
doctests from `mg shell //tvix:shell`.

It was not caught by CI because that does not currently run doctests.

The fix is just to use an inclusive pattern instead.

Fixes: b/417
Change-Id: Ifea7a3b84bb8f6f8c76e277979833713bdf51f46
Reviewed-on: https://cl.tvl.fyi/c/depot/+/12375
Autosubmit: Brian Olsen <me@griff.name>
Reviewed-by: flokli <flokli@flokli.de>
Tested-by: BuildkiteCI
Diffstat (limited to 'tvix/nix-compat/src/lib.rs')
0 files changed, 0 insertions, 0 deletions