diff options
author | Roel <polyfloyd@users.noreply.github.com> | 2017-10-22 17:42:40 +0200 |
---|---|---|
committer | Joe Wilm <jwilm@users.noreply.github.com> | 2017-10-22 08:42:40 -0700 |
commit | a1174797b4ce2259510f29d3468526b4c0d460c1 (patch) | |
tree | 2c3e614c661188992889062eff1b193be93ee5d8 /src/config.rs | |
parent | 8af4a4b55b4eaa2df78be24e19200a524dc3da4c (diff) | |
download | alacritty-a1174797b4ce2259510f29d3468526b4c0d460c1.tar.gz alacritty-a1174797b4ce2259510f29d3468526b4c0d460c1.zip |
Rewrite err_println to eprintln introduced in Rust 1.19 (#799)
Diffstat (limited to 'src/config.rs')
-rw-r--r-- | src/config.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/config.rs b/src/config.rs index 858d9a46..23af5362 100644 --- a/src/config.rs +++ b/src/config.rs @@ -370,7 +370,7 @@ impl<'a> de::Deserialize<'a> for ModsWrapper { "Shift" => res.shift = true, "Alt" | "Option" => res.alt = true, "Control" => res.ctrl = true, - _ => err_println!("unknown modifier {:?}", modifier), + _ => eprintln!("unknown modifier {:?}", modifier), } } @@ -467,7 +467,7 @@ impl<'a> de::Deserialize<'a> for ModeWrapper { "~AppCursor" => res.not_mode |= mode::APP_CURSOR, "AppKeypad" => res.mode |= mode::APP_KEYPAD, "~AppKeypad" => res.not_mode |= mode::APP_KEYPAD, - _ => err_println!("unknown omde {:?}", modifier), + _ => eprintln!("unknown omde {:?}", modifier), } } @@ -1476,7 +1476,7 @@ impl Monitor { let _ = config_tx.send(config); handler.on_config_reload(); }, - Err(err) => err_println!("Ignoring invalid config: {}", err), + Err(err) => eprintln!("Ignoring invalid config: {}", err), } } } |