diff --git a/aptos-move/framework/aptos-framework/doc/object.md b/aptos-move/framework/aptos-framework/doc/object.md index 8c536b58778f64..520ed1c935a9c3 100644 --- a/aptos-move/framework/aptos-framework/doc/object.md +++ b/aptos-move/framework/aptos-framework/doc/object.md @@ -1105,7 +1105,7 @@ Returns the address associated with the constructor ## Function `object_from_constructor_ref` -Returns an Object from within a DeleteRef +Returns an Object from within a ConstructorRef
public fun object_from_constructor_ref<T: key>(ref: &object::ConstructorRef): object::Object<T>
diff --git a/aptos-move/framework/aptos-framework/sources/object.move b/aptos-move/framework/aptos-framework/sources/object.move
index 9f61e3b6bfbe18..2594feeafcc42c 100644
--- a/aptos-move/framework/aptos-framework/sources/object.move
+++ b/aptos-move/framework/aptos-framework/sources/object.move
@@ -285,7 +285,7 @@ module aptos_framework::object {
         ref.self
     }
 
-    /// Returns an Object from within a DeleteRef
+    /// Returns an Object from within a ConstructorRef
     public fun object_from_constructor_ref(ref: &ConstructorRef): Object {
         address_to_object(ref.self)
     }