@@ -326,8 +326,8 @@ pub enum Value {
326326pub const VALUE_SIZE : usize = check_value_size ( ) ;
327327
328328const fn check_value_size ( ) -> usize {
329- if std:: mem:: size_of :: < Value > ( ) > 128 {
330- panic ! ( "the size of Value shouldn't be greater than 32 bytes" )
329+ if std:: mem:: size_of :: < Value > ( ) > 104 {
330+ panic ! ( "the size of Value shouldn't be greater than 104 bytes" )
331331 }
332332 std:: mem:: size_of :: < Value > ( )
333333}
@@ -556,19 +556,17 @@ impl Value {
556556 #[ cfg( feature = "with-jiff" ) ]
557557 #[ cfg_attr( docsrs, doc( cfg( feature = "with-jiff" ) ) ) ]
558558 Self :: JiffDateTime ( _) => {
559- Self :: JiffDateTime ( Some ( jiff:: civil:: date ( 1970 , 1 , 1 ) . at ( 0 , 0 , 0 , 0 ) . into ( ) ) )
559+ Self :: JiffDateTime ( Some ( jiff:: civil:: date ( 1970 , 1 , 1 ) . at ( 0 , 0 , 0 , 0 ) ) )
560560 }
561561
562562 #[ cfg( feature = "with-jiff" ) ]
563563 #[ cfg_attr( docsrs, doc( cfg( feature = "with-jiff" ) ) ) ]
564- Self :: JiffTimestamp ( _) => Self :: JiffTimestamp ( Some ( Timestamp :: UNIX_EPOCH . into ( ) ) ) ,
564+ Self :: JiffTimestamp ( _) => Self :: JiffTimestamp ( Some ( Timestamp :: UNIX_EPOCH ) ) ,
565565
566566 #[ cfg( feature = "with-jiff" ) ]
567567 #[ cfg_attr( docsrs, doc( cfg( feature = "with-jiff" ) ) ) ]
568568 Self :: JiffZoned ( _) => Self :: JiffZoned ( Some (
569- Timestamp :: UNIX_EPOCH
570- . to_zoned ( jiff:: tz:: TimeZone :: UTC )
571- . into ( ) ,
569+ Timestamp :: UNIX_EPOCH . to_zoned ( jiff:: tz:: TimeZone :: UTC ) ,
572570 ) ) ,
573571
574572 #[ cfg( feature = "with-uuid" ) ]
0 commit comments