fix rust example section link (#13701)

This commit is contained in:
Jack May 2020-11-19 10:07:00 -08:00 committed by GitHub
parent 2ef4369237
commit 9668dd85d4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

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