mirror of
https://github.com/domcyrus/rustnet.git
synced 2026-01-14 02:10:28 -06:00
fix: Fix compilation error calling &self method on &mut self
This commit is contained in:
@@ -206,7 +206,7 @@ impl App {
|
||||
None
|
||||
}
|
||||
KeyCode::Char('d') if key.modifiers.contains(KeyModifiers::CONTROL) => { // Ctrl + d
|
||||
self.dump_connections_to_log();
|
||||
(&*self).dump_connections_to_log();
|
||||
None
|
||||
}
|
||||
KeyCode::Char('d') => {
|
||||
|
||||
Reference in New Issue
Block a user