From 00067e3885dae4d1182e957a400d376a543bee54 Mon Sep 17 00:00:00 2001 From: Benedikt Reinartz Date: Tue, 9 Jul 2024 18:23:45 +0200 Subject: [PATCH] Remove redundant import (#633) --- rustler/src/types/i128.rs | 1 - rustler_sys/src/rustler_sys_api.rs | 1 - 2 files changed, 2 deletions(-) diff --git a/rustler/src/types/i128.rs b/rustler/src/types/i128.rs index b9664ba6..08264cde 100644 --- a/rustler/src/types/i128.rs +++ b/rustler/src/types/i128.rs @@ -1,5 +1,4 @@ use crate::{Decoder, Encoder, Env, Error, NifResult, Term}; -use std::convert::TryFrom; const EXTERNAL_TERM_FORMAT_VERSION: u8 = 131; const SMALL_BIG_EXT: u8 = 110; diff --git a/rustler_sys/src/rustler_sys_api.rs b/rustler_sys/src/rustler_sys_api.rs index 67086122..befee7d0 100644 --- a/rustler_sys/src/rustler_sys_api.rs +++ b/rustler_sys/src/rustler_sys_api.rs @@ -11,7 +11,6 @@ use std::os; #[allow(non_camel_case_types)] pub type size_t = usize; -use std::option::Option; //use std::mem::size_of; #[allow(non_camel_case_types)]