mirror of
https://github.com/servo/servo
synced 2026-05-12 18:06:32 +02:00
All callers were constructing a DOMString only to have it immediately converted back to String inside internal_warn, resulting in an unnecessary allocation and clone. This changes the parameter type to String and updates all call sites to pass the result of format! or .to_string() directly. Fixes: #43091 --------- Signed-off-by: Kelechi Ebiri <ebiritg@gmail.com>
88 KiB
88 KiB