Update deprecation versions (#20959)

This commit is contained in:
Jack May
2021-10-26 09:06:41 -07:00
committed by GitHub
parent 43168e6365
commit 2515f6a04f
10 changed files with 32 additions and 32 deletions

View File

@ -21,7 +21,7 @@ impl FeeCalculator {
}
#[deprecated(
since = "1.8.0",
since = "1.9.0",
note = "Please do not use, will no longer be available in the future"
)]
pub fn calculate_fee(&self, message: &Message) -> u64 {

View File

@ -9,7 +9,7 @@ use crate::{
crate::declare_deprecated_sysvar_id!("SysvarFees111111111111111111111111111111111", Fees);
#[deprecated(
since = "1.8.0",
since = "1.9.0",
note = "Please do not use, will no longer be available in the future"
)]
#[repr(C)]

View File

@ -9,7 +9,7 @@ use crate::{
use std::{cmp::Ordering, collections::BinaryHeap, iter::FromIterator, ops::Deref};
#[deprecated(
since = "1.8.0",
since = "1.9.0",
note = "Please do not use, will no longer be available in the future"
)]
pub const MAX_ENTRIES: usize = 150;
@ -20,7 +20,7 @@ declare_deprecated_sysvar_id!(
);
#[deprecated(
since = "1.8.0",
since = "1.9.0",
note = "Please do not use, will no longer be available in the future"
)]
#[repr(C)]
@ -39,7 +39,7 @@ impl Entry {
}
#[deprecated(
since = "1.8.0",
since = "1.9.0",
note = "Please do not use, will no longer be available in the future"
)]
#[derive(Clone, Debug)]
@ -70,7 +70,7 @@ impl<'a> PartialOrd for IterItem<'a> {
/// The entries are ordered by descending block height, so the first entry holds
/// the most recent block hash, and the last entry holds an old block hash.
#[deprecated(
since = "1.8.0",
since = "1.9.0",
note = "Please do not use, will no longer be available in the future"
)]
#[repr(C)]