mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-12-08 06:09:58 +00:00
LibWeb: Use preferred style for swift guard case clause
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