From f607b66d9ff2a65b910ca28b56248ee86c2a7107 Mon Sep 17 00:00:00 2001 From: Thomas Van Lenten Date: Thu, 3 Aug 2023 12:43:18 -0700 Subject: [PATCH] Fix typos. They got noticed after the previous change was being submitted. PiperOrigin-RevId: 553560211 --- objectivec/GPBCodedOutputStream.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/objectivec/GPBCodedOutputStream.m b/objectivec/GPBCodedOutputStream.m index cc7f0a25b318..dc7a37b12985 100644 --- a/objectivec/GPBCodedOutputStream.m +++ b/objectivec/GPBCodedOutputStream.m @@ -60,7 +60,7 @@ @implementation GPBCodedOutputStream { static const int32_t LITTLE_ENDIAN_32_SIZE = sizeof(uint32_t); static const int32_t LITTLE_ENDIAN_64_SIZE = sizeof(uint64_t); -// Helper to write bytes to an NSOutputStream looping incase a subset is written in +// Helper to write bytes to an NSOutputStream looping in case a subset is written in // any of the attempts. static NSInteger WriteToOutputStream(NSOutputStream *output, uint8_t *bytes, size_t length) { size_t total = 0; @@ -74,7 +74,7 @@ static NSInteger WriteToOutputStream(NSOutputStream *output, uint8_t *bytes, siz } if (written > 0) { - // Record the subset written and continue incase it was a partial write. + // Record the subset written and continue in case it was a partial write. total += written; length -= written; bytes += written;