Behold the following: https://play.rust-lang.org/?version=stable&mode=debug&edition=2021&gist=1ca7f62bcf7540e35171195d5751833a
It's a struct full of cows for str.
I would like to be able to use block_tag.to_owned() to get an owned version of the BlockTag, which is just a BlockTag<'static>.
You can see in this playground that it gives me a lifetime error though, which confuses me since the owned type shouldn't be dependent on the lifetime of the borrowed type, right?
A browser interface to the Rust compiler to experiment with the language