diff options
| author | salmonik <salmonik@tuta.io> | 2026-08-02 01:40:57 +0200 |
|---|---|---|
| committer | salmonik <salmonik@tuta.io> | 2026-08-02 01:40:57 +0200 |
| commit | bc971fcab97e9a7e9eda8e36e0a4c50944172a4f (patch) | |
| tree | 4113087a1a28ffc1c86d6f7c08cebc9d55550f09 /rsnix | |
| parent | v0.5.4: shadow backbuffer can no longer alias the framebuffer (diff) | |
| download | rs-dos-bc971fcab97e9a7e9eda8e36e0a4c50944172a4f.tar.gz rs-dos-bc971fcab97e9a7e9eda8e36e0a4c50944172a4f.zip | |
gop: rustfmt collapse in init_shadow warning band
Diffstat (limited to 'rsnix')
| -rw-r--r-- | rsnix/src/gop.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/rsnix/src/gop.rs b/rsnix/src/gop.rs index 8946f51..437bf9d 100644 --- a/rsnix/src/gop.rs +++ b/rsnix/src/gop.rs | |||
| @@ -309,7 +309,8 @@ pub fn init_shadow() { | |||
| 309 | "gop: WARNING — shadow from heap (page allocator unavailable)" | 309 | "gop: WARNING — shadow from heap (page allocator unavailable)" |
| 310 | }; | 310 | }; |
| 311 | crate::serial_println!("{}", msg); | 311 | crate::serial_println!("{}", msg); |
| 312 | let lines: alloc::vec::Vec<&str> = msg.as_bytes() | 312 | let lines: alloc::vec::Vec<&str> = msg |
| 313 | .as_bytes() | ||
| 313 | .chunks(100) | 314 | .chunks(100) |
| 314 | .map(|c| core::str::from_utf8(c).unwrap_or("?")) | 315 | .map(|c| core::str::from_utf8(c).unwrap_or("?")) |
| 315 | .collect(); | 316 | .collect(); |
