diff options
| author | Tianhao Wang <wth@riseup.net> | 2024-01-30 02:33:26 +0100 |
|---|---|---|
| committer | Tianhao Wang <wth@riseup.net> | 2024-01-30 02:33:26 +0100 |
| commit | 5232a899ca7537a4493a7fbd1bd8e03287ff1e26 (patch) | |
| tree | 87ded44101daa8832ad264996bde74160ab2db93 /src/lib.rs | |
| parent | 553657a0b527ae8ce09ac628da6122fbdd57157b (diff) | |
formatting code, use tab identation -- before it's too late
Diffstat (limited to 'src/lib.rs')
| -rw-r--r-- | src/lib.rs | 26 |
1 files changed, 13 insertions, 13 deletions
@@ -7,22 +7,22 @@ use machine::cgascr::CGAScreen; #[panic_handler] fn panic(_info: &PanicInfo) -> ! { - loop {} + loop {} } #[no_mangle] pub extern "C" fn _entry() -> ! { - let mut scr = CGAScreen::new(); - scr.show_coners(); - scr.setattr(0x1f); - scr.clear(); - scr.show_coners(); + let mut scr = CGAScreen::new(); + scr.show_coners(); + scr.setattr(0x1f); + scr.clear(); + scr.show_coners(); - scr.print("--RuStuBs--\n"); - scr.print(" _._ _,-'\"\"`-._ ~Meow\n"); - scr.print(" (,-.`._,'( |\\`-/|\n"); - scr.print(" `-.-' \\ )-`( , o o)\n"); - scr.print(" `- \\`_`\"'-\n"); - scr.print("it works!\n"); - loop {} + scr.print("--RuStuBs--\n"); + scr.print(" _._ _,-'\"\"`-._ ~Meow\n"); + scr.print(" (,-.`._,'( |\\`-/|\n"); + scr.print(" `-.-' \\ )-`( , o o)\n"); + scr.print(" `- \\`_`\"'-\n"); + scr.print("it works!\n"); + loop {} } |
