MCPcopy Create free account
hub / github.com/LibertyOS-Development/kernel / write_str

Method write_str

src/dev/drivers/mm_uart.rs:116–123  ·  view source on GitHub ↗
(&mut self, s: &str)

Source from the content-addressed store, hash-verified

114impl fmt::Write for MMIOSerial
115{
116 fn write_str(&mut self, s: &str) -> fmt::Result
117 {
118 for byte in s.bytes()
119 {
120 self.send(byte);
121 }
122 Ok(())
123 }
124}

Callers

nothing calls this directly

Calls 1

sendMethod · 0.80

Tested by

no test coverage detected