fix clippy warnings

This commit is contained in:
Tom A. Wagner
2023-08-01 09:13:16 +02:00
parent 7a9bc84b8b
commit a9ad1cccf0
6 changed files with 13 additions and 7 deletions

View File

@@ -717,7 +717,7 @@ impl GraphView {
pub(super) fn move_node(&self, widget: &Node, point: &Point) {
let mut nodes = self.imp().nodes.borrow_mut();
let mut node = nodes
let node = nodes
.get_mut(&widget.pipewire_id())
.expect("Node is not on the graph");