chore: cargo clippy --fix
This commit is contained in:
parent
69cdcbd1c1
commit
5095059f90
2 changed files with 2 additions and 2 deletions
|
|
@ -196,7 +196,7 @@ impl TerminalPaneGrid {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
pub fn unfocus_all_terminals(&self) {
|
pub fn unfocus_all_terminals(&self) {
|
||||||
for (_pane, tab_model) in self.panes.panes.iter() {
|
for tab_model in self.panes.panes.values() {
|
||||||
let entity = tab_model.active();
|
let entity = tab_model.active();
|
||||||
if let Some(terminal) = tab_model.data::<Mutex<Terminal>>(entity) {
|
if let Some(terminal) = tab_model.data::<Mutex<Terminal>>(entity) {
|
||||||
let mut terminal = terminal.lock().unwrap();
|
let mut terminal = terminal.lock().unwrap();
|
||||||
|
|
|
||||||
|
|
@ -543,7 +543,7 @@ where
|
||||||
fn fill<Renderer: renderer::Renderer>(
|
fn fill<Renderer: renderer::Renderer>(
|
||||||
&mut self,
|
&mut self,
|
||||||
renderer: &mut Renderer,
|
renderer: &mut Renderer,
|
||||||
is_focused: bool,
|
_is_focused: bool,
|
||||||
) {
|
) {
|
||||||
let cosmic_text_to_iced_color = |color: cosmic_text::Color| {
|
let cosmic_text_to_iced_color = |color: cosmic_text::Color| {
|
||||||
Color::from_rgba(
|
Color::from_rgba(
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue