Skip to content

Commit

Permalink
Fix case in links from Chapter 3 to .move files (MystenLabs#2579)
Browse files Browse the repository at this point in the history
  • Loading branch information
Clay-Mysten authored Jun 16, 2022
1 parent e985d98 commit 85fe29e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ public native fun freeze_object<T: key>(obj: T);
```
After this call, the specified object will become permanently immutable. This is a non-reversible operation; hence, freeze an object only when you are certain that it will never need to be mutated.

Let's add an entry function to the [ColorObject](https://github.com/MystenLabs/sui/blob/main/sui_programmability/examples/objects_tutorial/sources/ColorObject.move) module to turn an existing (owned) `ColorObject` into an immutable object:
Let's add an entry function to the [ColorObject](https://github.com/MystenLabs/sui/blob/main/sui_programmability/examples/objects_tutorial/sources/color_object.move) module to turn an existing (owned) `ColorObject` into an immutable object:
```rust
public entry fun freeze_object(object: ColorObject) {
transfer::freeze_object(object)
Expand Down

0 comments on commit 85fe29e

Please sign in to comment.