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/debuginfo.rs | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'rust/src/debuginfo.rs') diff --git a/rust/src/debuginfo.rs b/rust/src/debuginfo.rs index 3ec0691c..36cbc5b7 100644 --- a/rust/src/debuginfo.rs +++ b/rust/src/debuginfo.rs @@ -252,12 +252,6 @@ unsafe impl RefCountable for DebugInfoParser { } } -impl AsRef for DebugInfoParser { - fn as_ref(&self) -> &Self { - self - } -} - impl ToOwned for DebugInfoParser { type Owned = Ref; @@ -811,12 +805,6 @@ unsafe impl RefCountable for DebugInfo { } } -impl AsRef for DebugInfo { - fn as_ref(&self) -> &Self { - self - } -} - impl ToOwned for DebugInfo { type Owned = Ref; -- cgit v1.3.1