1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 17:17:44 +00:00

LibJS: Use MUST() where applicable

This commit is contained in:
Linus Groh 2021-10-03 15:57:26 +01:00
parent 7cd3f7de61
commit 4d5bd092ea
14 changed files with 58 additions and 56 deletions

View file

@ -805,7 +805,7 @@ ThrowCompletionOr<TemporalInstant> parse_temporal_instant_string(GlobalObject& g
// TODO
// 3. Let result be ! ParseISODateTime(isoString).
auto result = parse_iso_date_time(global_object, iso_string).release_value();
auto result = MUST(parse_iso_date_time(global_object, iso_string));
// 4. Let timeZoneResult be ? ParseTemporalTimeZoneString(isoString).
auto time_zone_result = TRY(parse_temporal_time_zone_string(global_object, iso_string));