summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDongliang Mu <dzm91@hust.edu.cn>2024-10-18 09:46:01 +0800
committerJonathan Corbet <corbet@lwn.net>2024-10-21 09:41:29 -0600
commit5ca1c920add1838ae65f64d30f13cfd66934d26f (patch)
tree09d1e270e08de3b71444b3678ab5ca73663a8a54
parentf63874b2dbe94436a50cdb6ca2469721d1087657 (diff)
docs/zh_CN: update the translation of process/coding-style.rst
Update to commit c5d436f05a3f ("docs/process: fix typos") scripts/checktransupdate.py reports: Documentation/translations/zh_CN/process/coding-style.rst commit c5d436f05a3f ("docs/process: fix typos") commit 82b8000c28b5 ("net: drop special comment style") 2 commits needs resolving in total Signed-off-by: Dongliang Mu <dzm91@hust.edu.cn> Reviewed-by: Yanteng Si <si.yanteng@linux.dev> Signed-off-by: Jonathan Corbet <corbet@lwn.net> Link: https://lore.kernel.org/r/20241018014609.3781089-1-dzm91@hust.edu.cn
-rw-r--r--Documentation/translations/zh_CN/process/coding-style.rst11
1 files changed, 0 insertions, 11 deletions
diff --git a/Documentation/translations/zh_CN/process/coding-style.rst b/Documentation/translations/zh_CN/process/coding-style.rst
index 10b9cb4f6a650..0484d0c65c25b 100644
--- a/Documentation/translations/zh_CN/process/coding-style.rst
+++ b/Documentation/translations/zh_CN/process/coding-style.rst
@@ -560,17 +560,6 @@ Documentation/translations/zh_CN/doc-guide/index.rst 和 scripts/kernel-doc 。
* with beginning and ending almost-blank lines.
*/
-对于在 net/ 和 drivers/net/ 的文件,首选的长 (多行) 注释风格有些不同。
-
-.. code-block:: c
-
- /* The preferred comment style for files in net/ and drivers/net
- * looks like this.
- *
- * It is nearly the same as the generally preferred comment style,
- * but there is no initial almost-blank line.
- */
-
注释数据也是很重要的,不管是基本类型还是衍生类型。为了方便实现这一点,每一行
应只声明一个数据 (不要使用逗号来一次声明多个数据)。这样你就有空间来为每个数据
写一段小注释来解释它们的用途了。