encoding/protobuf: fix typo in example
s/exmaple/example/
Change-Id: Id472a4b5b0883b89976611a7a5174c30eb2802cf
Reviewed-on: https://cue-review.googlesource.com/c/cue/+/5920
Reviewed-by: Marcel van Lohuizen <mpvl@google.com>
diff --git a/encoding/protobuf/examples/basic/basic.proto b/encoding/protobuf/examples/basic/basic.proto
index 50696ad..b0b0bee 100644
--- a/encoding/protobuf/examples/basic/basic.proto
+++ b/encoding/protobuf/examples/basic/basic.proto
@@ -14,5 +14,5 @@
// A method must start with a capital letter.
repeated string method = 2 [(cue.val) = '[...=~"^[A-Z]"]'];
- map<string, string> exmaple_map = 3;
-}
\ No newline at end of file
+ map<string, string> example_map = 3;
+}
diff --git a/encoding/protobuf/examples_test.go b/encoding/protobuf/examples_test.go
index 20370fc..43cf758 100644
--- a/encoding/protobuf/examples_test.go
+++ b/encoding/protobuf/examples_test.go
@@ -52,8 +52,8 @@
// // A method must start with a capital letter.
// method?: [...string] @protobuf(2)
// method?: [...=~"^[A-Z]"]
- // exmapleMap?: {
+ // exampleMap?: {
// [string]: string
- // } @protobuf(3,type=map<string,string>,exmaple_map)
+ // } @protobuf(3,type=map<string,string>,example_map)
// }
}