mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-27 10:07:15 +02:00
- Return StringView instead of DeprecatedString from function returning only literals - Remove redundant cast - Remove "inline" -- the function is defined in a cpp file, so there's no need for the linkage implications of `inline`. And compilers know to inline static functions with a single use without it. (Normally I'd remove the `static` instead, but this is in an `extern "C"` block, and it doesn't matter enough to end that block before the helper function and reopen it enough after)