Skip to content

Commit

Permalink
Run swift-format
Browse files Browse the repository at this point in the history
  • Loading branch information
stephencelis authored and github-actions[bot] committed Dec 8, 2022
1 parent c619e1c commit 4bb9192
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Sources/Parsing/Conversion.swift
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
///
/// Useful in transforming the output of a parser-printer into some new type while preserving
/// printability via ``Parser/map(_:)-18m9d``.
@rethrows public protocol Conversion<Input, Output> {
@rethrows public protocol Conversion<Input,Output> {
// The type of values this conversion converts from.
associatedtype Input

Expand Down
2 changes: 1 addition & 1 deletion Sources/Parsing/Parser.swift
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
/// others can be implemented efficiently on substrings because they simply move the start and end
/// indices, whereas their implementation on strings must make a copy of the string with the
/// characters removed.
@rethrows public protocol Parser<Input, Output> {
@rethrows public protocol Parser<Input,Output> {
/// The type of values this parser parses from.
associatedtype Input

Expand Down
2 changes: 1 addition & 1 deletion Sources/Parsing/ParserPrinter.swift
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
/// > in reverse. As such, new values should be prepended to the front of the input. This allows
/// > parsers to check that the already-printed values match what is expected for any given
/// > ``Parser``.
@rethrows public protocol ParserPrinter<Input, Output>: Parser {
@rethrows public protocol ParserPrinter<Input,Output>: Parser {
/// Attempts to print a well-structured piece of data into something more nebulous.
///
/// - Parameters
Expand Down
2 changes: 1 addition & 1 deletion Sources/swift-parsing-benchmark/Date.swift
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import Parsing
/// parse fractional seconds and time zone offsets automatically, and it will parse to the
/// nanosecond, while the formatters do not parse beyond the millisecond.
let dateSuite = BenchmarkSuite(name: "Date") { suite in
#if swift(>=5.7)
#if swift(>=5.7)
let timeDelim = OneOf {
"T".utf8
"t".utf8
Expand Down

0 comments on commit 4bb9192

Please sign in to comment.