mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-04 07:36:50 +00:00
LibWeb: Make StyleValue::to_string() infallible
This commit is contained in:
@@ -8,9 +8,9 @@
|
||||
|
||||
namespace Web::CSS {
|
||||
|
||||
ErrorOr<String> IntegerStyleValue::to_string() const
|
||||
String IntegerStyleValue::to_string() const
|
||||
{
|
||||
return String::number(m_value);
|
||||
return MUST(String::number(m_value));
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user