Commit 88bfcfa4 authored by Yanteng Si's avatar Yanteng Si Committed by Jonathan Corbet
Browse files

docs/zh_CN/rust: Update the translation of coding-guidelines to 6.9-rc4

parent f7771eba
Loading
Loading
Loading
Loading
+12 −0
Original line number Diff line number Diff line
@@ -157,6 +157,18 @@ https://commonmark.org/help/

	https://doc.rust-lang.org/rustdoc/how-to-write-documentation.html

此外,内核支持通过在链接目标前添加 ``srctree/`` 来创建相对于源代码树的链接。例如:

.. code-block:: rust

       //! C header: [`include/linux/printk.h`](srctree/include/linux/printk.h)

或者:

.. code-block:: rust

       /// [`struct mutex`]: srctree/include/linux/mutex.h


命名
----