#parser #string #slice #internals #json-parser #mut #in-situ

replacinator

Replace the internals of a string slice, useful for in-situ parsing

1 unstable release

0.1.0 Apr 25, 2021

#9 in #internals

MIT/Apache

8KB
94 lines

Replacinator

Replace the insides of an &mut str.

Inspired by dtolnay/request-for-implementation#7. See the JSON parsing example.

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

No runtime deps