This commit is contained in:
Dominik Maier 2021-11-08 19:37:38 +01:00
parent f8f0d4471f
commit a8f9655189

View File

@ -87,7 +87,7 @@ pub struct Unicorn<'a, D: 'a> {
pub data: D,
}
impl Unicorn<()> {
impl<'a> Unicorn<'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> {