summaryrefslogtreecommitdiff
path: root/graph/src/adset.rs
diff options
context:
space:
mode:
Diffstat (limited to 'graph/src/adset.rs')
-rw-r--r--graph/src/adset.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/graph/src/adset.rs b/graph/src/adset.rs
index adf2aaf..a72935a 100644
--- a/graph/src/adset.rs
+++ b/graph/src/adset.rs
@@ -215,7 +215,7 @@ impl Builder for ASGBuilder {
fn remove_edge<F>(&mut self, source: usize, target: usize, _predicate: F) -> Result<(), Error>
where
- F: Fn(Self::Label) -> bool,
+ F: FnMut(Self::Label) -> bool,
{
let nodes_len = self.nodes.len();