Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/chyyuu/os_kernel_lab
/ write_str
Method
write_str
user/src/console.rs:11–14 ·
view source on GitHub ↗
(&mut self, s: &str)
Source
from the content-addressed store, hash-verified
9
10
impl Write for Stdout {
11
fn write_str(&mut self, s: &str) -> fmt::Result {
12
write(STDOUT, s.as_bytes());
13
Ok(())
14
}
15
}
16
17
pub fn print(args: fmt::Arguments) {
Callers
nothing calls this directly
Calls
2
write
Function · 0.85
as_bytes
Method · 0.80
Tested by
no test coverage detected