Skip to content

Commit 50a4776

Browse files
committed
update edition + set style edition
1 parent d2e02a6 commit 50a4776

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

rustfmt.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
edition = "2021"
2+
style_edition = "2024"

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ pub fn enable_ansi_support() -> Result<(), std::io::Error> {
6363
Storage::FileSystem::{
6464
CreateFileW, FILE_GENERIC_READ, FILE_GENERIC_WRITE, FILE_SHARE_WRITE, OPEN_EXISTING,
6565
},
66-
System::Console::{GetConsoleMode, SetConsoleMode, ENABLE_VIRTUAL_TERMINAL_PROCESSING},
66+
System::Console::{ENABLE_VIRTUAL_TERMINAL_PROCESSING, GetConsoleMode, SetConsoleMode},
6767
};
6868

6969
unsafe {

0 commit comments

Comments
 (0)