@@ -850,12 +850,13 @@ pub struct MessageOptions {
850850}
851851#[ derive( Clone , PartialEq , :: prost:: Message ) ]
852852pub struct FieldOptions {
853+ /// NOTE: ctype is deprecated. Use `features.(pb.cpp).string_type` instead.
853854 /// The ctype option instructs the C++ code generator to use a different
854855 /// representation of the field than it normally would. See the specific
855856 /// options below. This option is only implemented to support use of
856857 /// \[ctype=CORD\] and \[ctype=STRING\] (the default) on non-repeated fields of
857- /// type "bytes" in the open source release -- sorry, we'll try to include
858- /// other types in a future version!
858+ /// type "bytes" in the open source release.
859+ /// TODO: make ctype actually deprecated.
859860 #[ prost(
860861 enumeration = "field_options::CType" ,
861862 optional,
@@ -1073,8 +1074,6 @@ pub mod field_options {
10731074 }
10741075 }
10751076 /// If set to RETENTION_SOURCE, the option will be omitted from the binary.
1076- /// Note: as of January 2023, support for this is in progress and does not yet
1077- /// have an effect (b/264593489).
10781077 #[ derive(
10791078 Clone ,
10801079 Copy ,
@@ -1116,8 +1115,7 @@ pub mod field_options {
11161115 }
11171116 /// This indicates the types of entities that the field may apply to when used
11181117 /// as an option. If it is unset, then the field may be freely used as an
1119- /// option on any kind of entity. Note: as of January 2023, support for this is
1120- /// in progress and does not yet have an effect (b/264593489).
1118+ /// option on any kind of entity.
11211119 #[ derive(
11221120 Clone ,
11231121 Copy ,
@@ -1907,7 +1905,7 @@ pub enum Edition {
19071905 Edition2023 = 1000 ,
19081906 Edition2024 = 1001 ,
19091907 /// Placeholder editions for testing feature resolution. These should not be
1910- /// used or relyed on outside of tests.
1908+ /// used or relied on outside of tests.
19111909 Edition1TestOnly = 1 ,
19121910 Edition2TestOnly = 2 ,
19131911 Edition99997TestOnly = 99997 ,
0 commit comments