mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-05 22:52:22 +02:00
Everywhere: Use ReadonlySpan<T> instead of Span<T const>
This commit is contained in:
Notes:
sideshowbarker
2024-07-17 04:57:23 +09:00
Author: https://github.com/MacDue Commit: https://github.com/SerenityOS/serenity/commit/63b11030f0 Pull-request: https://github.com/SerenityOS/serenity/pull/17328 Reviewed-by: https://github.com/trflynn89
@@ -151,7 +151,7 @@ struct AK::Formatter<TimeZone::Location> : Formatter<FormatString> {
|
||||
}
|
||||
};
|
||||
|
||||
static Optional<DateTime> parse_date_time(Span<StringView const> segments)
|
||||
static Optional<DateTime> parse_date_time(ReadonlySpan<StringView> segments)
|
||||
{
|
||||
auto comment_index = find_index(segments.begin(), segments.end(), "#"sv);
|
||||
if (comment_index != segments.size())
|
||||
|
||||
Reference in New Issue
Block a user