|
59 | 59 | ) |
60 | 60 | )] |
61 | 61 | #![cfg_attr(feature = "cargo-clippy", deny(clippy::missing_inline_in_public_items))] |
62 | | -#![doc(html_root_url = "https://docs.rs/typenum/1.14.0")] |
| 62 | +#![doc(html_root_url = "https://docs.rs/typenum/1.15.0")] |
63 | 63 |
|
64 | 64 | // For debugging macros: |
65 | 65 | // #![feature(trace_macros)] |
@@ -103,16 +103,19 @@ pub use crate::{ |
103 | 103 | /// A potential output from `Cmp`, this is the type equivalent to the enum variant |
104 | 104 | /// `core::cmp::Ordering::Greater`. |
105 | 105 | #[derive(Eq, PartialEq, Ord, PartialOrd, Clone, Copy, Hash, Debug, Default)] |
| 106 | +#[cfg_attr(feature = "scale_info", derive(scale_info::TypeInfo))] |
106 | 107 | pub struct Greater; |
107 | 108 |
|
108 | 109 | /// A potential output from `Cmp`, this is the type equivalent to the enum variant |
109 | 110 | /// `core::cmp::Ordering::Less`. |
110 | 111 | #[derive(Eq, PartialEq, Ord, PartialOrd, Clone, Copy, Hash, Debug, Default)] |
| 112 | +#[cfg_attr(feature = "scale_info", derive(scale_info::TypeInfo))] |
111 | 113 | pub struct Less; |
112 | 114 |
|
113 | 115 | /// A potential output from `Cmp`, this is the type equivalent to the enum variant |
114 | 116 | /// `core::cmp::Ordering::Equal`. |
115 | 117 | #[derive(Eq, PartialEq, Ord, PartialOrd, Clone, Copy, Hash, Debug, Default)] |
| 118 | +#[cfg_attr(feature = "scale_info", derive(scale_info::TypeInfo))] |
116 | 119 | pub struct Equal; |
117 | 120 |
|
118 | 121 | /// Returns `core::cmp::Ordering::Greater` |
|
0 commit comments