Avoid struct name repetitions.
This commit is contained in:
@@ -843,7 +843,7 @@ impl InstanceHandle {
|
||||
impl Clone for InstanceHandle {
|
||||
fn clone(&self) -> Self {
|
||||
unsafe { &mut *(self.instance as *mut Instance) }.refcount += 1;
|
||||
InstanceHandle {
|
||||
Self {
|
||||
instance: self.instance,
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user