1 parent 2bcdd91 commit 379e133Copy full SHA for 379e133
1 file changed
src/mock.zig
@@ -511,8 +511,8 @@ pub fn MockInterface(comptime InterfaceType: type) type {
511
return expectation;
512
}
513
514
- pub fn get_interface(self: *Self) *InterfaceType {
515
- return &self.interface;
+ pub fn get_interface(self: *Self) InterfaceType {
+ return self.interface;
516
517
518
pub fn create(allocator: std.mem.Allocator) !*Self {
0 commit comments