mirror of
https://github.com/zebrajr/ladybird.git
synced 2025-12-06 00:19:53 +01:00
LibWeb: Use preferred style for swift guard case clause
This stops `swift-format` complaining.
This commit is contained in:
parent
11a6b6f38f
commit
b2591309d6
|
|
@ -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…
Reference in New Issue
Block a user