MCPcopy 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
10impl Write for Stdout {
11 fn write_str(&mut self, s: &str) -> fmt::Result {
12 write(STDOUT, s.as_bytes());
13 Ok(())
14 }
15}
16
17pub fn print(args: fmt::Arguments) {

Callers

nothing calls this directly

Calls 2

writeFunction · 0.85
as_bytesMethod · 0.80

Tested by

no test coverage detected