mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-10-19 14:40:18 +00:00
LibWeb: Use preferred style for swift guard case
clause
Some checks are pending
CI / macOS, arm64, Sanitizer, Clang (push) Waiting to run
CI / Linux, x86_64, Fuzzers, Clang (push) Waiting to run
CI / Linux, x86_64, Sanitizer, GNU (push) Waiting to run
CI / Linux, x86_64, Sanitizer, Clang (push) Waiting to run
Package the js repl as a binary artifact / Linux, arm64 (push) Waiting to run
Package the js repl as a binary artifact / macOS, arm64 (push) Waiting to run
Package the js repl as a binary artifact / Linux, x86_64 (push) Waiting to run
Run test262 and test-wasm / run_and_update_results (push) Waiting to run
Lint Code / lint (push) Waiting to run
Label PRs with merge conflicts / auto-labeler (push) Waiting to run
Push notes / build (push) Waiting to run
Some checks are pending
CI / macOS, arm64, Sanitizer, Clang (push) Waiting to run
CI / Linux, x86_64, Fuzzers, Clang (push) Waiting to run
CI / Linux, x86_64, Sanitizer, GNU (push) Waiting to run
CI / Linux, x86_64, Sanitizer, Clang (push) Waiting to run
Package the js repl as a binary artifact / Linux, arm64 (push) Waiting to run
Package the js repl as a binary artifact / macOS, arm64 (push) Waiting to run
Package the js repl as a binary artifact / Linux, x86_64 (push) Waiting to run
Run test262 and test-wasm / run_and_update_results (push) Waiting to run
Lint Code / lint (push) Waiting to run
Label PRs with merge conflicts / auto-labeler (push) Waiting to run
Push notes / build (push) Waiting to run
This stops `swift-format` complaining.
This commit is contained in:
parent
11a6b6f38f
commit
b2591309d6
Notes:
github-actions[bot]
2025-09-27 19:40:05 +00:00
Author: https://github.com/tcl3
Commit: b2591309d6
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/6325
1 changed files with 1 additions and 1 deletions
|
@ -454,7 +454,7 @@ public class HTMLTokenizer {
|
|||
}
|
||||
|
||||
func isAppropriateEndTagToken(_ token: HTMLToken) -> Bool {
|
||||
guard case let .EndTag(endTagName, _, _, _) = token.type else {
|
||||
guard case .EndTag(let endTagName, _, _, _) = token.type else {
|
||||
preconditionFailure("isAppropriateEndTagToken called with non-end-tag token")
|
||||
}
|
||||
if let startTagName = self.lastStartTagName {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue