We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f448dc6 commit 037682eCopy full SHA for 037682e
sysvar/src/lib.rs
@@ -159,9 +159,7 @@ pub trait SysvarGet: Default + Sized {
159
160
#[cfg(feature = "bincode")]
161
/// A type that holds sysvar data.
162
-pub trait Sysvar:
163
- SysvarGet + SysvarId + serde::Serialize + serde::de::DeserializeOwned
164
-{
+pub trait Sysvar: SysvarGet + SysvarId + serde::Serialize + serde::de::DeserializeOwned {
165
/// The size in bytes of the sysvar as serialized account data.
166
fn size_of() -> usize {
167
bincode::serialized_size(&Self::default()).unwrap() as usize
0 commit comments