Skip to content

Commit

Permalink
Fix typos in docs
Browse files Browse the repository at this point in the history
  • Loading branch information
dnadoba committed Jul 8, 2024
1 parent 4e7217f commit 4059c21
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Tests/NIOPosixTests/CoWValue.swift
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ struct CoWValue: @unchecked Sendable {
/// This reference is "copied" if not uniquely referenced
private var uniquenessIndicator = UniquenessIndicator()

/// mutates `self` and returns a boolean weather in was mutated in place
/// - Returns: true if mutations happened in-place, false if Copy on Write (CoW) was triggered
/// mutates `self` and returns a boolean whether it was mutated in place or not
/// - Returns: true if mutation happened in-place, false if Copy on Write (CoW) was triggered
mutating func mutateInPlace() -> Bool {
guard isKnownUniquelyReferenced(&self.uniquenessIndicator) else {
self.uniquenessIndicator = UniquenessIndicator()
Expand Down

0 comments on commit 4059c21

Please sign in to comment.