Skip to content
This repository has been archived by the owner on Jan 22, 2025. It is now read-only.

Fix broken macro doc links #27125

Merged
merged 1 commit into from
Sep 1, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Fix broken macro doc links
These don't resolve correctly in Rust 1.63.
  • Loading branch information
brson committed Aug 31, 2022
commit 7adf83ab38c2b77277b557f7fafac8b20c6a9a2f
3 changes: 3 additions & 0 deletions sdk/program/src/entrypoint.rs
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,9 @@ pub const NON_DUP_MARKER: u8 = u8::MAX;
/// It also sets up a [global allocator] and [panic handler], using the
/// [`custom_heap_default`] and [`custom_panic_default`] macros.
///
/// [`custom_heap_default`]: crate::custom_heap_default
/// [`custom_panic_default`]: crate::custom_panic_default
///
/// [global allocator]: https://doc.rust-lang.org/stable/std/alloc/trait.GlobalAlloc.html
/// [panic handler]: https://doc.rust-lang.org/nomicon/panic-handler.html
///
Expand Down
2 changes: 1 addition & 1 deletion sdk/program/src/log.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
//! The most common way to emit logs is through the [`msg!`] macro, which logs
//! simple strings, as well as [formatted strings][fs].
//!
//! [`msg!`]: msg
//! [`msg!`]: crate::msg!
//! [fs]: https://doc.rust-lang.org/std/fmt/
//!
//! Logs can be viewed in multiple ways:
Expand Down
2 changes: 2 additions & 0 deletions sdk/program/src/program.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ use crate::{
/// program, and provided by _its_ caller. The same is true of the program ID of
/// the called program.
///
/// [entrypoint!]: crate::entrypoint!
///
/// The `Instruction` is usually built from within the calling program, but may
/// be deserialized from an external source.
///
Expand Down