1
Fork 0

Get rid of clean::Deprecation

This brings the size of `item.deprecation` from 56 to 16 bytes.
This commit is contained in:
Joshua Nelson 2020-12-14 18:44:59 -05:00
parent cbab347e68
commit 7d452430fa
5 changed files with 21 additions and 30 deletions

View file

@ -621,7 +621,7 @@ pub fn eval_condition(
}
}
#[derive(Encodable, Decodable, Clone, HashStable_Generic)]
#[derive(Debug, Encodable, Decodable, Clone, HashStable_Generic)]
pub struct Deprecation {
pub since: Option<Symbol>,
/// The note to issue a reason.