LibWeb: Use preferred style for swift guard case clause

This stops `swift-format` complaining.
This commit is contained in:
Tim Ledbetter 2025-09-27 20:18:10 +01:00 committed by Tim Ledbetter
parent 11a6b6f38f
commit b2591309d6

View File

@ -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 {