File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -225,10 +225,10 @@ The compiler generates the following accessor methods:
225225* ` fn has_foo(&self) -> bool ` : Returns ` true ` if the field is set.
226226* ` fn foo(&self) -> i32 ` : Returns the current value of the field. If the field
227227 is not set, it returns the default value.
228- * fn foo_opt(&self) -> protobuf::Optional<i32 >`: Returns an optional with the
229- variant` Set(value) ` if the field is set or` Unset(default value) ` if it's
230- unset. See [ ` Optional `
231- rustdoc] ( https://docs.rs/protobuf/4.33.5-release/protobuf/enum.Optional.html )
228+ * ` fn foo_opt(&self) -> protobuf::Optional<i32> ` : Returns an optional with the
229+ variant ` Set(value) ` if the field is set or ` Unset(default value) ` if it's
230+ unset. See
231+ [ ` Optional ` rustdoc] ( https://docs.rs/protobuf/4.33.5-release/protobuf/enum.Optional.html )
232232* ` fn set_foo(&mut self, val: i32) ` : Sets the value of the field. After
233233 calling this, ` has_foo() ` will return ` true ` and ` foo() ` will return
234234 ` value ` .
You can’t perform that action at this time.
0 commit comments