From 90c6cc90b6c1e80d2f26434f37d687b39a692945 Mon Sep 17 00:00:00 2001 From: Michael Krasnitski Date: Fri, 6 Jan 2023 14:26:24 -0500 Subject: Remove unused impls of `AsRef for T` --- rust/src/flowgraph.rs | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'rust/src/flowgraph.rs') 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> for FlowGraphNode<'a> { - fn as_ref(&self) -> &Self { - self - } -} - impl<'a> ToOwned for FlowGraphNode<'a> { type Owned = Ref; @@ -161,12 +155,6 @@ unsafe impl RefCountable for FlowGraph { } } -impl AsRef for FlowGraph { - fn as_ref(&self) -> &Self { - self - } -} - impl ToOwned for FlowGraph { type Owned = Ref; -- cgit v1.3.1