Yet Another Rust Yaml
Find a file
Paul Stemmet 8986f36f00 scanner/tag: remove ref, return owned Slice variants
This is a part of an API changes I"ll be making, which will allow
allocations in the scanner code. This change is being made for a few
reasons.

1. Allows me to make the Scanner API nicer, as callers will only need
   to pass in the underlying data being scanned, and will not be tied to
   a mutable lifetime which limits them to scanning tokens one at a
   time.
2. Makes the code simpler, as I no longer need to ensure the mutable
   'owned' lifetime is honored throughout the call stack.
3. I'll need to allocate anyway for the indentation stack, and thus not
   allocating in other places that are sensible is less important.
2021-07-25 12:41:57 +01:00
.github/workflows ci/prtasks: use install over mv 2021-06-02 14:52:43 +00:00
docs docs/flow-logic: notes from scalar line joining 2021-06-23 21:51:33 +01:00
src scanner/tag: remove ref, return owned Slice variants 2021-07-25 12:41:57 +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 lib/deps: add atoi 2021-06-06 08:44:15 +01:00
Cargo.toml lib/deps: add atoi 2021-06-06 08:44:15 +01:00