console.rs: write entire strings without a loop
authorKit Rhett Aultman <kit@kitaultman.com>
Mon, 2 Sep 2024 23:45:48 +0000 (19:45 -0400)
committerKit Rhett Aultman <kit@kitaultman.com>
Mon, 2 Sep 2024 23:45:48 +0000 (19:45 -0400)
commita915a2977f20b45de0a115e399113206a258f919
treeb6bff68559e48ff79914b334e2c638ed34d139ba
parentf606ba4461513a43e0cc2e317d06963490618e3c
console.rs: write entire strings without a loop

The MmioSerialPort already has a write_str() function, so there's no
need to loop the bytes.

Actually, given that MmioSerialPort also has a fmt::Write trait, it's
possible that we don't actually need to implement it for Console at all.
src/console.rs