From 8d904877ef22d492591aa8bde6e959204f198fc8 Mon Sep 17 00:00:00 2001 From: "mergify[bot]" <37929162+mergify[bot]@users.noreply.github.com> Date: Thu, 19 Nov 2020 18:14:42 +0000 Subject: [PATCH] fix rust example section link (#13701) (#13702) (cherry picked from commit 9668dd85d49cd9ff528fcaac01a29316627cf0d9) Co-authored-by: Jack May --- docs/src/developing/deployed-programs/developing-rust.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/src/developing/deployed-programs/developing-rust.md b/docs/src/developing/deployed-programs/developing-rust.md index cd5c2b0701..dbccb2e270 100644 --- a/docs/src/developing/deployed-programs/developing-rust.md +++ b/docs/src/developing/deployed-programs/developing-rust.md @@ -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