Skip to content

Commit

Permalink
Fix typo in kUpb_EncodeOption_SkipUnkown.
Browse files Browse the repository at this point in the history
It is about encoding, not printing.

PiperOrigin-RevId: 622979373
  • Loading branch information
eamonnmcmanus authored and copybara-github committed Apr 8, 2024
1 parent 03758e1 commit 0013736
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion upb/wire/encode.h
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ enum {
* memory during encode. */
kUpb_EncodeOption_Deterministic = 1,

// When set, unknown fields are not printed.
// When set, unknown fields are not encoded.
kUpb_EncodeOption_SkipUnknown = 2,

// When set, the encode will fail if any required fields are missing.
Expand Down

0 comments on commit 0013736

Please sign in to comment.