提交 1128fb77 编写于 作者: F Far

fix: fix mismatch between description and the demo code

Close #I46F4E
Signed-off-by: NFar <yesiyuan2@huawei.com>
上级 4343a8ff
...@@ -156,7 +156,8 @@ OsMuxInit ...@@ -156,7 +156,8 @@ OsMuxInit
struct MyType { // 跟随语句放行末,前置1空格 struct MyType { // 跟随语句放行末,前置1空格
... ...
}; // 右大括号后面紧跟分号 }; // 右大括号后面紧跟分号
int Foo(int a) { // 函数左大括号独占一行,放行首 int Foo(int a)
{ // 函数左大括号独占一行,放行首
if (a > 0) { if (a > 0) {
Foo(); // 一行只有一条语句 Foo(); // 一行只有一条语句
Bar(); Bar();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册