Skip to content

Commit d479ac5

Browse files
committed
Fix compile error
1 parent 851d6e2 commit d479ac5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/util/opaque_pointer.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ impl OpaquePointer {
2424
OpaquePointer(addr.to_mut_ptr::<c_void>())
2525
}
2626

27-
pub fn to_address(self) -> Self {
27+
pub fn to_address(self) -> Address {
2828
Address::from_mut_ptr(self.0)
2929
}
3030

0 commit comments

Comments
 (0)