summaryrefslogtreecommitdiff
path: root/rust/src/flowgraph.rs
diff options
context:
space:
mode:
authorMichael Krasnitski <michael.krasnitski@gmail.com>2023-01-06 14:26:24 -0500
committerKyle Martin <krm504@nyu.edu>2023-01-10 00:11:27 -0500
commit90c6cc90b6c1e80d2f26434f37d687b39a692945 (patch)
tree041c1ec7ccacc5e1567ccf22a0d05c2157225d56 /rust/src/flowgraph.rs
parent64713cd5b5550c5b8c61a05cc26d89d464d45bb3 (diff)
Remove unused impls of `AsRef<T> for T`
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>;