removed duplicate
This commit is contained in:
@ -99,12 +99,6 @@ impl<'a, D> Unicorn<'a, D>
|
|||||||
where
|
where
|
||||||
D: 'a,
|
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<Unicorn<'a, ()>, uc_error> {
|
|
||||||
Self::new_with_data(arch, mode, ())
|
|
||||||
}
|
|
||||||
|
|
||||||
/// Create a new instance of the unicorn engine for the specified architecture
|
/// Create a new instance of the unicorn engine for the specified architecture
|
||||||
/// and hardware mode.
|
/// and hardware mode.
|
||||||
pub fn new_with_data(arch: Arch, mode: Mode, data: D) -> Result<Unicorn<'a, D>, uc_error> {
|
pub fn new_with_data(arch: Arch, mode: Mode, data: D) -> Result<Unicorn<'a, D>, uc_error> {
|
||||||
|
Reference in New Issue
Block a user