diff options
| author | Michael Krasnitski <michael.krasnitski@gmail.com> | 2023-01-06 14:26:24 -0500 |
|---|---|---|
| committer | Kyle Martin <krm504@nyu.edu> | 2023-01-10 00:11:27 -0500 |
| commit | 90c6cc90b6c1e80d2f26434f37d687b39a692945 (patch) | |
| tree | 041c1ec7ccacc5e1567ccf22a0d05c2157225d56 /rust/src/debuginfo.rs | |
| parent | 64713cd5b5550c5b8c61a05cc26d89d464d45bb3 (diff) | |
Remove unused impls of `AsRef<T> for T`
Diffstat (limited to 'rust/src/debuginfo.rs')
| -rw-r--r-- | rust/src/debuginfo.rs | 12 |
1 files changed, 0 insertions, 12 deletions
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<DebugInfoParser> for DebugInfoParser { - fn as_ref(&self) -> &Self { - self - } -} - impl ToOwned for DebugInfoParser { type Owned = Ref<Self>; @@ -811,12 +805,6 @@ unsafe impl RefCountable for DebugInfo { } } -impl AsRef<DebugInfo> for DebugInfo { - fn as_ref(&self) -> &Self { - self - } -} - impl ToOwned for DebugInfo { type Owned = Ref<Self>; |
