Skip to content

Commit 8ce1e37

Browse files
jnaultyrandall-Mysten
authored andcommitted
Fix Object Ownership Link in Object Basics Doc (#7728)
Fixes #7727 Co-authored-by: Randall-Mysten <109545725+randall-Mysten@users.noreply.github.com>
1 parent 16ded6f commit 8ce1e37

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/src/build/programming-with-objects/ch1-object-basics.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ All of the APIs for adding objects to persistent storage live in the [`transfer`
5757
```rust
5858
public fun transfer<T: key>(obj: T, recipient: address)
5959
```
60-
This places `obj` in global storage along with metadata that records `recipient` as the owner of the object. In Sui, every object must have an owner, which can be either an address, another object, or "shared"--see [Object ownership](../learn/objects#object-ownership) for more details.
60+
This places `obj` in global storage along with metadata that records `recipient` as the owner of the object. In Sui, every object must have an owner, which can be either an address, another object, or "shared". See [Object ownership](../../learn/objects.md#object-ownership) for more details.
6161

6262
> :bulb: In core Move, we would call `move_to<T>(a: address, t: T)` to add the entry `(a, T) -> t` to the global storage. But because (as explained above) the schema of Sui Move's global storage is different, we use the `Transfer` APIs instead of `move_to` or the other [global storage operators](https://github.com/move-language/move/blob/main/language/documentation/book/src/global-storage-operators.md) in core Move. These operators cannot be used in Sui Move.
6363

0 commit comments

Comments
 (0)