From 9668dd85d49cd9ff528fcaac01a29316627cf0d9 Mon Sep 17 00:00:00 2001 From: Jack May Date: Thu, 19 Nov 2020 10:07:00 -0800 Subject: [PATCH] fix rust example section link (#13701) --- 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