File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ This section is about calling other applications using _cross-application
77calls_ .
88
99Such calls happen on the same chain and are made with the helper method
10- [ ` ContractRuntime::call_application ` ] ( https://docs.rs/linera-sdk/latest/linera_sdk/contract/type .ContractRuntime.html#call_application ) :
10+ [ ` ContractRuntime::call_application ` ] ( https://docs.rs/linera-sdk/latest/linera_sdk/contract/struct .ContractRuntime.html#method_call_application ) :
1111
1212``` rust,ignore
1313{{#include ../../../linera-protocol/linera-sdk/src/contract/runtime.rs:call_application}}
Original file line number Diff line number Diff line change @@ -10,12 +10,12 @@ may be different.
1010
1111For your application, you can specify any serializable type as the ` Message `
1212type in your ` Contract ` implementation. To send a message, use the
13- [ ` ContractRuntime ` ] ( https://docs.rs/linera-sdk/latest/linera_sdk/contract/type .ContractRuntime.html )
13+ [ ` ContractRuntime ` ] ( https://docs.rs/linera-sdk/latest/linera_sdk/contract/struct .ContractRuntime.html )
1414made available as an argument to the contract's
1515[ ` Contract::load ` ] ( https://docs.rs/linera-sdk/latest/linera_sdk/trait.Contract.html#tymethod.load )
1616constructor. The runtime is usually stored inside the contract object, as we did
1717when [ writing the contract binary] ( ./contract.md ) . We can then call
18- [ ` ContractRuntime::prepare_message ` ] ( https://docs.rs/linera-sdk/latest/linera_sdk/contract/type .ContractRuntime.html#prepare_message )
18+ [ ` ContractRuntime::prepare_message ` ] ( https://docs.rs/linera-sdk/latest/linera_sdk/contract/struct .ContractRuntime.html#method_prepare_message )
1919to start preparing a message, and then ` send_to ` to send it to a destination
2020chain.
2121
You can’t perform that action at this time.
0 commit comments