@@ -327,8 +327,8 @@ pub enum Value {
327327pub const VALUE_SIZE : usize = check_value_size ( ) ;
328328
329329const fn check_value_size ( ) -> usize {
330- if std:: mem:: size_of :: < Value > ( ) > 128 {
331- panic ! ( "the size of Value shouldn't be greater than 32 bytes" )
330+ if std:: mem:: size_of :: < Value > ( ) > 104 {
331+ panic ! ( "the size of Value shouldn't be greater than 104 bytes" )
332332 }
333333 std:: mem:: size_of :: < Value > ( )
334334}
@@ -557,19 +557,17 @@ impl Value {
557557 #[ cfg( feature = "with-jiff" ) ]
558558 #[ cfg_attr( docsrs, doc( cfg( feature = "with-jiff" ) ) ) ]
559559 Self :: JiffDateTime ( _) => {
560- Self :: JiffDateTime ( Some ( jiff:: civil:: date ( 1970 , 1 , 1 ) . at ( 0 , 0 , 0 , 0 ) . into ( ) ) )
560+ Self :: JiffDateTime ( Some ( jiff:: civil:: date ( 1970 , 1 , 1 ) . at ( 0 , 0 , 0 , 0 ) ) )
561561 }
562562
563563 #[ cfg( feature = "with-jiff" ) ]
564564 #[ cfg_attr( docsrs, doc( cfg( feature = "with-jiff" ) ) ) ]
565- Self :: JiffTimestamp ( _) => Self :: JiffTimestamp ( Some ( Timestamp :: UNIX_EPOCH . into ( ) ) ) ,
565+ Self :: JiffTimestamp ( _) => Self :: JiffTimestamp ( Some ( Timestamp :: UNIX_EPOCH ) ) ,
566566
567567 #[ cfg( feature = "with-jiff" ) ]
568568 #[ cfg_attr( docsrs, doc( cfg( feature = "with-jiff" ) ) ) ]
569569 Self :: JiffZoned ( _) => Self :: JiffZoned ( Some (
570- Timestamp :: UNIX_EPOCH
571- . to_zoned ( jiff:: tz:: TimeZone :: UTC )
572- . into ( ) ,
570+ Timestamp :: UNIX_EPOCH . to_zoned ( jiff:: tz:: TimeZone :: UTC ) ,
573571 ) ) ,
574572
575573 #[ cfg( feature = "with-uuid" ) ]
0 commit comments