1
Fork 0

rustdoc: inherit parent's stability where applicable

This commit is contained in:
Lukas Markeffsky 2024-09-24 20:17:52 +02:00
parent 67bb749c2e
commit 2fdeb3b8f4
4 changed files with 82 additions and 9 deletions

View file

@ -153,7 +153,7 @@ pub enum StabilityLevel {
}
/// Rust release in which a feature is stabilized.
#[derive(Encodable, Decodable, PartialEq, Copy, Clone, Debug, Eq, Hash)]
#[derive(Encodable, Decodable, PartialEq, Copy, Clone, Debug, Eq, PartialOrd, Ord, Hash)]
#[derive(HashStable_Generic)]
pub enum StableSince {
Version(RustcVersion),