mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 10:38:11 +00:00
LibWeb: Make Serialize functions infallible
This commit is contained in:
parent
788c2c5a8d
commit
b5893ee115
10 changed files with 95 additions and 105 deletions
|
@ -22,7 +22,7 @@ ErrorOr<String> Function::to_string() const
|
|||
{
|
||||
StringBuilder builder;
|
||||
|
||||
TRY(serialize_an_identifier(builder, m_name));
|
||||
serialize_an_identifier(builder, m_name);
|
||||
TRY(builder.try_append('('));
|
||||
TRY(builder.try_join(' ', m_values));
|
||||
TRY(builder.try_append(')'));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue