style: swiftformat pass — drift from the format gate
CI / ci (push) Canceled after 0s
CI / ci (push) Canceled after 0s
Whole-tree swiftformat/swiftlint run during #136 flagged 9 files drifted (/// doc markers on private members, one force-unwrap to #require). Comment- and lint-only, no code change.
This commit is contained in:
1 parent
5ad605eb3c
commit
a4ea914690
9 files changed
+18
-27
No files matched your search
@@ -435,7 +435,7 @@ nonisolated enum ProsePresenter {
|
||||
static let inlineSyntax: Set<Character> = ["*", "_", "`", "[", "]", "(", ")", "!", "<", ">"]
|
||||
}
|
||||
|
||||
nonisolated extension Range where Bound == String.Index {
|
||||
nonisolated extension Range<String.Index> {
|
||||
func utf16Range(in base: String) -> Range<Int> {
|
||||
let lo = base.utf16.distance(from: base.utf16.startIndex, to: lowerBound.samePosition(in: base.utf16)!)
|
||||
let hi = base.utf16.distance(from: base.utf16.startIndex, to: upperBound.samePosition(in: base.utf16)!)
|
||||
|
||||
Reference in new issue
Block a user