fix rust example section link (#13701) (#13702)

(cherry picked from commit 9668dd85d4)

Co-authored-by: Jack May <jack@solana.com>
This commit is contained in:
mergify[bot]
2020-11-19 18:14:42 +00:00
committed by GitHub
parent fbe4e95e6a
commit 8d904877ef

View File

@ -210,7 +210,7 @@ Rust programs implement the heap directly by defining a custom
[`global_allocator`](https://github.com/solana-labs/solana/blob/8330123861a719cd7a79af0544617896e7f00ce3/sdk/program/src/entrypoint.rs#L50)
Programs may implement their own `global_allocator` based on its specific needs.
Refer to the [custom heap example](#custom-heap) for more information.
Refer to the [custom heap example](#examples) for more information.
## Restrictions
@ -297,7 +297,7 @@ info!(&format!("Some varialbe: {:?}", variable));
```
The [debugging](debugging.md#logging) section has more information about working
with program logs.
with program logs the [Rust examples](#examples) contains a logging example.
## Panicking