Skip to content

Commit 55bcdde

Browse files
authored
fix several links to docs.rs (#230)
1 parent 8501de7 commit 55bcdde

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/developers/backend/composition.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ This section is about calling other applications using _cross-application
77
calls_.
88

99
Such 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}}

src/developers/backend/messages.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,12 @@ may be different.
1010

1111
For your application, you can specify any serializable type as the `Message`
1212
type 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)
1414
made available as an argument to the contract's
1515
[`Contract::load`](https://docs.rs/linera-sdk/latest/linera_sdk/trait.Contract.html#tymethod.load)
1616
constructor. The runtime is usually stored inside the contract object, as we did
1717
when [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)
1919
to start preparing a message, and then `send_to` to send it to a destination
2020
chain.
2121

0 commit comments

Comments
 (0)