Skip to content

Commit

Permalink
Update source/docs/casper/resources/moving-to-casper.md
Browse files Browse the repository at this point in the history
Co-authored-by: Iulia Popescu <[email protected]>
  • Loading branch information
KMCreatesWorlds and ipopescu authored Sep 15, 2023
1 parent 39e1266 commit 012de4b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/docs/casper/resources/moving-to-casper.md
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ pub extern "C" fn counter_inc() {

It's important to note that entry points do not have input arguments in their definition, but the arguments can be accessed using the [RuntimeArgs](https://docs.rs/casper-types/latest/casper_types/struct.RuntimeArgs.html) passed to the contract. Entry points are instantiated within the `call` entry point.

If a return value is needed, it should be declared using the following syntax described in the [Interacting with Runtime Return Values](../resources/advanced/return-values-tutorial.md) tutorial.
If a return value is needed, it should be declared using the syntax described in the [Interacting with Runtime Return Values](../resources/advanced/return-values-tutorial.md) tutorial.

```rust
runtime::ret(value);
Expand Down

0 comments on commit 012de4b

Please sign in to comment.