Skip to content

Commit 0e8f3fd

Browse files
committed
doc: rust: add missing code-block tag
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
1 parent b5d158b commit 0e8f3fd

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Documentation/rust/coding-guidelines.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,8 @@ the one at:
5353

5454
This is how a well-documented Rust function may look like::
5555

56+
.. code-block:: rust
57+
5658
/// Returns the contained [`Some`] value, consuming the `self` value,
5759
/// without checking that the value is not [`None`].
5860
///

0 commit comments

Comments
 (0)