File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -736,8 +736,8 @@ concern because of Swift's common use for mobile applications.
736
736
737
737
### Merging Two Messages
738
738
739
- The `merge (from:fieldMask: )` function in Swift Protobuf enables developers
740
- to selectively merge fields from one message into another, guided by a `Google_Protobuf_FieldMask`.
739
+ The `merge (from:fieldMask: )` function in Swift Protobuf selectively merges
740
+ fields from one message into another, guided by a `Google_Protobuf_FieldMask`.
741
741
This method is particularly useful when you need to update only specific
742
742
fields in a message without affecting others.
743
743
The `merge` function is available as a method on `Message` types and requires two parameters:
@@ -801,7 +801,7 @@ The `merge` function operates in-place, meaning it directly modifies `message1`.
801
801
802
802
### Trimming a Message
803
803
804
- The `trim (keeping: )` function allows developers to retain only specific
804
+ The `trim (keeping: )` function retains only specific
805
805
fields in a protocol buffer message while clearing the rest.
806
806
807
807
Consider the `ExampleMessage` structure from the previous example.
You can’t perform that action at this time.
0 commit comments