We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 92156f5 commit 14023a0Copy full SHA for 14023a0
capnpc/rust.capnp
@@ -2,8 +2,8 @@
2
3
annotation name @0xc2fe4c6d100166d0 (field, struct, enum, enumerant, union, group) :Text;
4
# Rename something in the generated code. The value that you specify in this
5
-# annotion must follow capnp capitalization conventions. So, for example,
6
-# a struct could be named `StructFoo`, even though that will get translated
7
-# to a `struct_foo` module in the generated Rust code.
+# annotation should follow capnp capitalization conventions. So, for example,
+# a struct should use CamelCase capitalization like `StructFoo`, even though
+# that will get translated to a `struct_foo` module in the generated Rust code.
8
#
9
# TODO: support annoting more kinds of things with this.
0 commit comments