clippy fixes

This commit is contained in:
Robin Appelman 2024-07-28 17:16:06 +02:00
commit 04308e966b
4 changed files with 20 additions and 6 deletions

View file

@ -180,12 +180,12 @@ impl<'a> UiState<'a> {
let line = &app.lines[state.lines[selected]];
let raw = app.get_line(line.index).unwrap_or_default();
copy_osc(&raw);
copy_osc(raw);
UiState::Logs(state)
}
(UiState::Log(state), UiEvent::Copy) => {
let raw = app.get_line(state.log.index).unwrap_or_default();
copy_osc(&raw);
copy_osc(raw);
UiState::Log(state)
}
(