mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-22 09:19:03 +00:00
IntegerOrCalculated and NumberOrCalculated's T types don't have a to_string() method because they're i64 and double respectively, so use String::number() for them instead. Also rearrange this method to avoid checking the variant's contents multiple times.
7.1 KiB
7.1 KiB