mirror of
https://github.com/phil-opp/blog_os.git
synced 2025-12-16 14:27:49 +00:00
Fix import in code example in Chinese translation of VGA text buffer post
This commit is contained in:
committed by
GitHub
parent
30650ab52b
commit
90b5a958d3
@@ -327,7 +327,7 @@ impl Writer {
|
|||||||
```rust
|
```rust
|
||||||
// in src/vga_buffer.rs
|
// in src/vga_buffer.rs
|
||||||
|
|
||||||
use core::fmt::Write;
|
use core::fmt;
|
||||||
|
|
||||||
impl fmt::Write for Writer {
|
impl fmt::Write for Writer {
|
||||||
fn write_str(&mut self, s: &str) -> fmt::Result {
|
fn write_str(&mut self, s: &str) -> fmt::Result {
|
||||||
|
|||||||
Reference in New Issue
Block a user