cue/load: simplify registry example
CUE_EXPERIMENT=modules has been on by default for many months now,
and we will not revert that change at this point,
so it doesn't make any sense for the examples and tests to still
reach into the ./internal/cueexperiment package to set it to true.
Particularly since that confuses users reading the example,
as well as showing them internal APIs that they cannot use themselves.
While here, tweak the docs for Config.Registry a bit
to link the reader directly to the documentation for $CUE_REGISTRY.
Signed-off-by: Daniel Martí <mvdan@mvdan.cc>
Change-Id: I114cf047153cde3f00f0d18ddb96c6e92bbb9282
Reviewed-on: https://review.gerrithub.io/c/cue-lang/cue/+/1202597
TryBot-Result: CUEcueckoo <cueckoo@cuelang.org>
Unity-Result: CUE porcuepine <cue.porcuepine@gmail.com>
Reviewed-by: Roger Peppe <rogpeppe@gmail.com>