Eliminate doc warnings and fix some markdown (#18566)
* Fix link target in doc comment * Fix formatting of log examples in process_instruction * Fix doc markdown in solana-gossip * Fix doc markdown in solana-runtime * Escape square braces in doc comments to avoid warnings * Surround 'account references' doc items in code spans to avoid warnings * Fix code block in loader_upgradeable_instruction * Fix doctest for loader_upgradable_instruction
This commit is contained in:
@ -8,7 +8,7 @@ pub struct PurgeStats {
|
||||
}
|
||||
|
||||
impl Blockstore {
|
||||
/// Silently deletes all blockstore column families in the range [from_slot,to_slot]
|
||||
/// Silently deletes all blockstore column families in the range \[from_slot,to_slot\]
|
||||
/// Dangerous; Use with care:
|
||||
/// Does not check for integrity and does not update slot metas that refer to deleted slots
|
||||
/// Modifies multiple column families simultaneously
|
||||
@ -57,7 +57,7 @@ impl Blockstore {
|
||||
}
|
||||
|
||||
/// Ensures that the SlotMeta::next_slots vector for all slots contain no references in the
|
||||
/// [from_slot,to_slot] range
|
||||
/// \[from_slot,to_slot\] range
|
||||
///
|
||||
/// Dangerous; Use with care
|
||||
pub fn purge_from_next_slots(&self, from_slot: Slot, to_slot: Slot) {
|
||||
|
Reference in New Issue
Block a user