Skip to content

Commit 927775e

Browse files
Fix imbalanced backticks, as discovered by kfm
Fixes #307 PiperOrigin-RevId: 904031363
1 parent 22bce26 commit 927775e

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

content/reference/rust/rust-generated.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff 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`.

0 commit comments

Comments
 (0)