Update sysvar module short docs (#25070)

This commit is contained in:
Brian Anderson 2022-05-09 00:51:17 -05:00 committed by GitHub
parent 671775a244
commit 8dd7aa9b40
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 2 deletions

View File

@ -469,7 +469,7 @@
//! //!
//! # Sysvars //! # Sysvars
//! //!
//! Sysvars are special accounts that contain dynamically-updating data about //! Sysvars are special accounts that contain dynamically-updated data about
//! the network cluster, the blockchain history, and the executing transaction. //! the network cluster, the blockchain history, and the executing transaction.
//! //!
//! The program IDs for sysvars are defined in the [`sysvar`] module, and simple //! The program IDs for sysvars are defined in the [`sysvar`] module, and simple

View File

@ -1,5 +1,9 @@
//! named accounts for synthesized data accounts for bank state, etc. //! Access to special accounts with dynamically-updated data.
//! //!
//! For more details see the Solana [documentation on sysvars][sysvardoc].
//!
//! [sysvardoc]: https://docs.solana.com/developing/runtime-facilities/sysvars
use { use {
crate::{account_info::AccountInfo, program_error::ProgramError, pubkey::Pubkey}, crate::{account_info::AccountInfo, program_error::ProgramError, pubkey::Pubkey},
lazy_static::lazy_static, lazy_static::lazy_static,