Yet Another Rust Yaml
Find a file
Paul Stemmet 9ed1bcc00e scalar/plain: fix subtle slice error in scan_plain_scalar_lazy
When checking for a terminating sequence in plain scalars, we either
need a flow indicator (in flow contexts only), or a ': ' byte sequence,
where the space can be any valid YAML whitespace.

The issue here is that the lazy variant was correctly identifying the
terminating sequence, _but not recording it_ for the Deferred's slice.
This commit fixes that, ensuring we always record the final 1 or 2 bytes
before exiting the main loop.
2021-09-17 17:03:13 +01:00
.github/workflows ci/prtasks: add matrix test for feature.test_buffer_small 2021-09-09 20:29:29 +01:00
docs docs/plain-scalar-indent: commit notes 2021-08-15 09:03:22 +00:00
src scalar/plain: fix subtle slice error in scan_plain_scalar_lazy 2021-09-17 17:03:13 +01:00
.gitignore git: ignore .vim/ 2021-06-23 21:51:33 +01:00
.rustfmt.toml ci/fmt: move rustfmt.toml to repo root 2021-06-22 21:14:34 +00:00
Cargo.lock Cargo: dev-dependencies.cfg-if = 1 2021-09-09 20:29:29 +01:00
Cargo.toml Cargo: add feature.test_lazy 2021-09-17 17:03:13 +01:00