未验证 提交 9aed849f 编写于 作者: S Sakura 提交者: GitHub

Update 2os-interface.rst

Display the wrong number.
上级 03056137
......@@ -134,7 +134,7 @@ API与ABI
0
}
这个程序的功能就是显示一行字符串(重点看第8行的代码)。注意,这里的 `println!` 一个宏。而进一步跟踪源代码 (位于 `user/src/console.rs` ),可以看到 `println!` 会进一步展开为 `write` 函数:
这个程序的功能就是显示一行字符串(重点看第6行的代码)。注意,这里的 `println!` 一个宏。而进一步跟踪源代码 (位于 `user/src/console.rs` ),可以看到 `println!` 会进一步展开为 `write` 函数:
.. code-block:: rust
:linenos:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册