Skip to content

Commit 80ccd3e

Browse files
authored
validate: fix typos (#999)
1 parent d50285d commit 80ccd3e

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

validate/validate.proto

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -534,7 +534,7 @@ message StringRules {
534534
// at a maximum
535535
optional uint64 max_bytes = 5;
536536

537-
// Pattern specifes that this field must match against the specified
537+
// Pattern specifies that this field must match against the specified
538538
// regular expression (RE2 syntax). The included expression should elide
539539
// any delimiters.
540540
optional string pattern = 6;
@@ -646,7 +646,7 @@ message BytesRules {
646646
// at a maximum
647647
optional uint64 max_len = 3;
648648

649-
// Pattern specifes that this field must match against the specified
649+
// Pattern specifies that this field must match against the specified
650650
// regular expression (RE2 syntax). The included expression should elide
651651
// any delimiters.
652652
optional string pattern = 4;
@@ -732,11 +732,11 @@ message RepeatedRules {
732732
optional uint64 max_items = 2;
733733

734734
// Unique specifies that all elements in this field must be unique. This
735-
// contraint is only applicable to scalar and enum types (messages are not
735+
// constraint is only applicable to scalar and enum types (messages are not
736736
// supported).
737737
optional bool unique = 3;
738738

739-
// Items specifies the contraints to be applied to each item in the field.
739+
// Items specifies the constraints to be applied to each item in the field.
740740
// Repeated message fields will still execute validation against each item
741741
// unless skip is specified here.
742742
optional FieldRules items = 4;

0 commit comments

Comments
 (0)