summaryrefslogtreecommitdiff
path: root/rust/src/flowgraph.rs
diff options
context:
space:
mode:
Diffstat (limited to 'rust/src/flowgraph.rs')
-rw-r--r--rust/src/flowgraph.rs12
1 files changed, 0 insertions, 12 deletions
diff --git a/rust/src/flowgraph.rs b/rust/src/flowgraph.rs
index a0e6caaa..0f959429 100644
--- a/rust/src/flowgraph.rs
+++ b/rust/src/flowgraph.rs
@@ -106,12 +106,6 @@ unsafe impl<'a> RefCountable for FlowGraphNode<'a> {
}
}
-impl<'a> AsRef<FlowGraphNode<'a>> for FlowGraphNode<'a> {
- fn as_ref(&self) -> &Self {
- self
- }
-}
-
impl<'a> ToOwned for FlowGraphNode<'a> {
type Owned = Ref<Self>;
@@ -161,12 +155,6 @@ unsafe impl RefCountable for FlowGraph {
}
}
-impl AsRef<FlowGraph> for FlowGraph {
- fn as_ref(&self) -> &Self {
- self
- }
-}
-
impl ToOwned for FlowGraph {
type Owned = Ref<Self>;