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> {