From 0dfc0cba1fbc4ba3d444b0fe68ab62b9eb45ee61 Mon Sep 17 00:00:00 2001 From: Dominik Maier Date: Mon, 8 Nov 2021 19:39:15 +0100 Subject: [PATCH] removed duplicate --- bindings/rust/src/lib.rs | 6 ------ 1 file changed, 6 deletions(-) diff --git a/bindings/rust/src/lib.rs b/bindings/rust/src/lib.rs index b3652404..dfe15992 100644 --- a/bindings/rust/src/lib.rs +++ b/bindings/rust/src/lib.rs @@ -99,12 +99,6 @@ impl<'a, D> Unicorn<'a, D> where D: 'a, { - /// Create a new instance of the unicorn engine for the specified architecture - /// and hardware mode. - pub fn new(arch: Arch, mode: Mode) -> Result, uc_error> { - Self::new_with_data(arch, mode, ()) - } - /// Create a new instance of the unicorn engine for the specified architecture /// and hardware mode. pub fn new_with_data(arch: Arch, mode: Mode, data: D) -> Result, uc_error> {