summaryrefslogtreecommitdiff
path: root/backends/lean/Base/Primitives/Alloc.lean
diff options
context:
space:
mode:
Diffstat (limited to 'backends/lean/Base/Primitives/Alloc.lean')
-rw-r--r--backends/lean/Base/Primitives/Alloc.lean6
1 files changed, 3 insertions, 3 deletions
diff --git a/backends/lean/Base/Primitives/Alloc.lean b/backends/lean/Base/Primitives/Alloc.lean
index 34590499..6c89c6bb 100644
--- a/backends/lean/Base/Primitives/Alloc.lean
+++ b/backends/lean/Base/Primitives/Alloc.lean
@@ -16,16 +16,16 @@ def deref_mut (T : Type) (x : T) : Result T := ret x
def deref_mut_back (T : Type) (_ : T) (x : T) : Result T := ret x
/-- Trait instance -/
-def coreOpsDerefInst (Self : Type) :
+def coreopsDerefInst (Self : Type) :
core.ops.deref.Deref Self := {
Target := Self
deref := deref Self
}
/-- Trait instance -/
-def coreOpsDerefMutInst (Self : Type) :
+def coreopsDerefMutInst (Self : Type) :
core.ops.deref.DerefMut Self := {
- derefInst := coreOpsDerefInst Self
+ derefInst := coreopsDerefInst Self
deref_mut := deref_mut Self
deref_mut_back := deref_mut_back Self
}