Skip to content

Commit 799b56e

Browse files
committed
Allow block comments for the table in the code.
Switching to trailing comments doesn't read as well, and swift-format doesn't actually align all the line trailing comments, so the one line that is shorted would get it's comment indented compared to the rest so it doesn't read as well.
1 parent c9fbc33 commit 799b56e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Sources/SwiftProtobuf/JSONScanner.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,7 @@ private func fromHexDigit(_ c: UnicodeScalar) -> UInt32? {
8585
// known as "base64url" or the "URL-safe alphabet".
8686
// Note that both "-" and "+" decode to 62 and "/" and "_" both
8787
// decode as 63.
88+
// swift-format-ignore: NoBlockComments
8889
let base64Values: [Int] = [
8990
/* 0x00 */ -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
9091
/* 0x10 */ -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,

0 commit comments

Comments
 (0)