Skip to content

Commit 2fe8635

Browse files
committed
type name'
1 parent 6cc0a8e commit 2fe8635

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/MongoSwift/MongoCollection+FindAndModify.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ extension MongoCollection {
2828
* depending on selected options, or `nil` if there was no match.
2929
*/
3030
@discardableResult
31-
public func findOneAndReplace(filter: Document, replacement: T,
31+
public func findOneAndReplace(filter: Document, replacement: CollectionType,
3232
options: FindOneAndDeleteOptions? = nil) throws -> CollectionType? {
3333
throw MongoError.commandError(message: "Unimplemented command")
3434
}

0 commit comments

Comments
 (0)