Skip to content

Commit

Permalink
Update debug-publish.md (MystenLabs#5843)
Browse files Browse the repository at this point in the history
* Update debug-publish.md

Fix brackets

* Update sui-move-library.md

Fix link to shared object (moved from /build to /learn)
  • Loading branch information
WayneAl authored Nov 4, 2022
1 parent 88197f2 commit a80d26f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions doc/src/build/move/debug-publish.md
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,7 @@ We can now create a function to test the module initialization:
test_scenario::return_to_sender(scenario, forge);
};
test_scenario::end(scenario_val);
}

```

Expand Down
2 changes: 1 addition & 1 deletion doc/src/build/move/sui-move-library.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,8 @@ To make an object `obj` shared and mutable, one can call:
```
transfer::share_object(obj);
```
After this call, `obj` stays mutable, but becomes shared by everyone, i.e. anyone can send a transaction to mutate this object. However, such an object cannot be transferred or embedded in another object as a field. For more details, see the [shared objects](../../build/objects.md#shared) documentation.

After this call, `obj` stays mutable, but becomes shared by everyone, i.e. anyone can send a transaction to mutate this object. However, such an object cannot be transferred or embedded in another object as a field. For more details, see the [shared objects](../../learn/objects.md#shared) documentation.

## Transaction context
`TxContext` module provides a few important APIs that operate based on the current transaction context.
Expand Down

0 comments on commit a80d26f

Please sign in to comment.