Skip to content

Commit 6740c3a

Browse files
authored
Fix typo in comments for JSON encoder and decoder (vapor#137)
* Fix typo in comments for JSON encoder and decoder `mimmicks` -> `mimicks` * Fix typo in PostgresJSONEncoder comment
1 parent fa1a133 commit 6740c3a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Sources/PostgresNIO/Utilities/PostgresJSONDecoder.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import Foundation
22

3-
/// A protocol that mimmicks the Foundation `JSONDecoder.decode(_:from:)` function.
3+
/// A protocol that mimicks the Foundation `JSONDecoder.decode(_:from:)` function.
44
/// Conform a non-Foundation JSON decoder to this protocol if you want PostgresNIO to be
55
/// able to use it when decoding JSON & JSONB values (see `PostgresNIO._defaultJSONDecoder`)
66
public protocol PostgresJSONDecoder {

Sources/PostgresNIO/Utilities/PostgresJSONEncoder.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import Foundation
22

3-
/// A protocol that mimmicks the Foundation `JSONEncoder.encode(_:)` function.
3+
/// A protocol that mimicks the Foundation `JSONEncoder.encode(_:)` function.
44
/// Conform a non-Foundation JSON encoder to this protocol if you want PostgresNIO to be
55
/// able to use it when encoding JSON & JSONB values (see `PostgresNIO._defaultJSONEncoder`)
66
public protocol PostgresJSONEncoder {

0 commit comments

Comments
 (0)