Clean up some compiler warnings

This commit is contained in:
Greg Shuflin committed 2025-02-11 02:22:32 -08:00
1 parent 3d9a839a91
commit cab6dc76b1
2 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -95,7 +95,7 @@ impl EditorCore {
}
pub(crate) fn current_command(&self) -> Option<&str> {
self.commands.current_command.as_ref().map(|x| x.as_str())
self.commands.current_command.as_ref().map(|x| x.as_ref())
}
pub(crate) fn get_buffer_by_id(&self, id: BufferId) -> Option<&Buffer> {
+2 -2
View File
@@ -60,8 +60,8 @@ impl TerminalState {
}
}
fn render_finder(&mut self, frame: &mut Frame, outer_rect: Rect, buffer: &FinderBuffer) {
let title = "FINDER";
fn render_finder(&mut self, _frame: &mut Frame, _outer_rect: Rect, _buffer: &FinderBuffer) {
let _title = "FINDER";
//TODO
}