Skip to content

Commit

Permalink
remove allow developers to ... in sentences
Browse files Browse the repository at this point in the history
  • Loading branch information
pouyayarandi authored Aug 23, 2024
1 parent 816d598 commit 5a2daa5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Documentation/API.md
Original file line number Diff line number Diff line change
Expand Up @@ -736,8 +736,8 @@ concern because of Swift's common use for mobile applications.

### Merging Two Messages

The `merge(from:fieldMask:)` function in Swift Protobuf enables developers
to selectively merge fields from one message into another, guided by a `Google_Protobuf_FieldMask`.
The `merge(from:fieldMask:)` function in Swift Protobuf selectively merges
fields from one message into another, guided by a `Google_Protobuf_FieldMask`.
This method is particularly useful when you need to update only specific
fields in a message without affecting others.
The `merge` function is available as a method on `Message` types and requires two parameters:
Expand Down Expand Up @@ -801,7 +801,7 @@ The `merge` function operates in-place, meaning it directly modifies `message1`.

### Trimming a Message

The `trim(keeping:)` function allows developers to retain only specific
The `trim(keeping:)` function retains only specific
fields in a protocol buffer message while clearing the rest.

Consider the `ExampleMessage` structure from the previous example.
Expand Down

0 comments on commit 5a2daa5

Please sign in to comment.