diff options
| author | bjorn3 <bjorn3@users.noreply.github.com> | 2021-09-27 11:20:04 +0200 |
|---|---|---|
| committer | bjorn3 <bjorn3@users.noreply.github.com> | 2021-09-27 11:20:04 +0200 |
| commit | adc2793e7d0fff7b91c55290d93b4171981e29b4 (patch) | |
| tree | b5d66ecc3b3288547763e1a80168cde8387f84e6 /src | |
| parent | 9e48f99e8d9d6e9ff7ef2d82a0978c7ef0566232 (diff) | |
| download | rust-adc2793e7d0fff7b91c55290d93b4171981e29b4.tar.gz rust-adc2793e7d0fff7b91c55290d93b4171981e29b4.zip | |
Fix unused import warning
TryInto is part of the 2021 edition prelude
Diffstat (limited to 'src')
| -rw-r--r-- | src/debuginfo/emit.rs | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/debuginfo/emit.rs b/src/debuginfo/emit.rs index c8c2d50b034..4120ba6e533 100644 --- a/src/debuginfo/emit.rs +++ b/src/debuginfo/emit.rs @@ -69,8 +69,6 @@ impl WriterRelocate { /// Perform the collected relocations to be usable for JIT usage. #[cfg(feature = "jit")] pub(super) fn relocate_for_jit(mut self, jit_module: &cranelift_jit::JITModule) -> Vec<u8> { - use std::convert::TryInto; - for reloc in self.relocs.drain(..) { match reloc.name { super::DebugRelocName::Section(_) => unreachable!(), |
