1
0
Fork 0
mirror of https://github.com/alacritty/alacritty.git synced 2025-04-14 17:53:03 -04:00

Fix clippy warnings

This commit is contained in:
Pavel Roskin 2023-10-28 17:53:31 -07:00 committed by GitHub
parent 308b331cbc
commit 0db2fc7865
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 5 deletions

View file

@ -25,11 +25,11 @@ mod bindings;
mod mouse;
use crate::cli::Options;
pub use crate::config::bindings::{
Action, Binding, BindingKey, BindingMode, MouseAction, SearchAction, ViAction,
};
#[cfg(test)]
pub use crate::config::mouse::Mouse;
pub use crate::config::bindings::Binding;
pub use crate::config::bindings::{
Action, BindingKey, BindingMode, MouseAction, SearchAction, ViAction,
};
pub use crate::config::ui_config::UiConfig;
/// Maximum number of depth for the configuration file imports.

View file

@ -2982,7 +2982,7 @@ mod tests {
term.push_title();
term.set_title(Some("Next".into()));
assert_eq!(term.title, Some("Next".into()));
assert_eq!(term.title_stack.get(0).unwrap(), &Some("Test".into()));
assert_eq!(term.title_stack.first().unwrap(), &Some("Test".into()));
// Title can be popped from stack and set as the window title.
term.pop_title();