lol-html
lol-html copied to clipboard
Return &str from `get_attribute`
Most of the time I'm looking at an attribute, I don't actually need to copy it. But get_attribute()
makes a copy anyway. It would be nice to return a borrow instead.
This would also require changing Bytes::as_string()
to return a borrow.