style(server): remove unused get_full_graph method to clear clippy warning
This commit is contained in:
1 parent
da1b7cdc9d
commit
f37a2f8313
1 file changed
-4
@@ -64,10 +64,6 @@ impl MemoryState {
|
|||||||
let _ = self.activity_tx.send(payload);
|
let _ = self.activity_tx.send(payload);
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn get_full_graph(&self) -> KnowledgeGraph {
|
|
||||||
self.graph.read_with(|g| g.clone())
|
|
||||||
}
|
|
||||||
|
|
||||||
pub fn read_graph<F, R>(&self, f: F) -> R
|
pub fn read_graph<F, R>(&self, f: F) -> R
|
||||||
where
|
where
|
||||||
F: FnOnce(&KnowledgeGraph) -> R,
|
F: FnOnce(&KnowledgeGraph) -> R,
|
||||||
|
|||||||
Reference in new issue
Block a user