Skip to content

Commit 5ca1c92

Browse files
mudongliangJonathan Corbet
authored andcommitted
docs/zh_CN: update the translation of process/coding-style.rst
Update to commit c5d436f ("docs/process: fix typos") scripts/checktransupdate.py reports: Documentation/translations/zh_CN/process/coding-style.rst commit c5d436f ("docs/process: fix typos") commit 82b8000 ("net: drop special comment style") 2 commits needs resolving in total Signed-off-by: Dongliang Mu <[email protected]> Reviewed-by: Yanteng Si <[email protected]> Signed-off-by: Jonathan Corbet <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent f63874b commit 5ca1c92

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

Documentation/translations/zh_CN/process/coding-style.rst

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -560,17 +560,6 @@ Documentation/translations/zh_CN/doc-guide/index.rst 和 scripts/kernel-doc 。
560560
* with beginning and ending almost-blank lines.
561561
*/
562562
563-
对于在 net/ 和 drivers/net/ 的文件,首选的长 (多行) 注释风格有些不同。
564-
565-
.. code-block:: c
566-
567-
/* The preferred comment style for files in net/ and drivers/net
568-
* looks like this.
569-
*
570-
* It is nearly the same as the generally preferred comment style,
571-
* but there is no initial almost-blank line.
572-
*/
573-
574563
注释数据也是很重要的,不管是基本类型还是衍生类型。为了方便实现这一点,每一行
575564
应只声明一个数据 (不要使用逗号来一次声明多个数据)。这样你就有空间来为每个数据
576565
写一段小注释来解释它们的用途了。

0 commit comments

Comments
 (0)