mirror of
https://github.com/yewstack/yew.git
synced 2025-12-08 21:26:25 +00:00
The macro uses `to_string().as_str()` which copies the string. Avoid that by using `as_str()` directly on the source. Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>