Skip to content

Commit da6f9cb

Browse files
committed
revert: unwanted translations in src/ctrlc/windows.rs
1 parent 23b2870 commit da6f9cb

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/ctrlc/windows.rs

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
//! A stub for Ctrl + C handling.
22
use crate::ctrlc::interrupted::set_interrupted;
3-
use rust_i18n::t;
43
use tracing::error;
54
use winapi::shared::minwindef::{BOOL, DWORD, FALSE, TRUE};
65
use winapi::um::consoleapi::SetConsoleCtrlHandler;
@@ -18,6 +17,6 @@ extern "system" fn handler(ctrl_type: DWORD) -> BOOL {
1817

1918
pub fn set_handler() {
2019
if 0 == unsafe { SetConsoleCtrlHandler(Some(handler), TRUE) } {
21-
error!("{}", t!("Cannot set a control C handler"))
20+
error!("Cannot set a control C handler")
2221
}
2322
}

0 commit comments

Comments
 (0)