@@ -33,9 +33,10 @@ pub struct ValidationRule(
33
33
/// - BIT62: ACCESS flag, 1 when the cell has been accessed in a way observable to Cairo.
34
34
/// - BIT61: RELOCATABLE flag, 1 when the contained value is a `Relocatable`, 0 when it is a
35
35
/// `Felt252`.
36
- /// `Felt252` values are stored in big-endian order to keep the flag bits free.
37
- /// `Relocatable` values are stored as native endian, with the 3rd word storing the segment index
38
- /// and the 4th word storing the offset.
36
+ ///
37
+ /// `Felt252` values are stored in big-endian order to keep the flag bits free.
38
+ /// `Relocatable` values are stored as native endian, with the 3rd word storing the segment index
39
+ /// and the 4th word storing the offset.
39
40
#[ derive( Copy , Clone , Eq , Ord , PartialEq , PartialOrd , Debug ) ]
40
41
#[ repr( align( 32 ) ) ]
41
42
pub ( crate ) struct MemoryCell ( [ u64 ; 4 ] ) ;
@@ -520,8 +521,9 @@ impl Memory {
520
521
/// - `lhs` exists in memory but `rhs` doesn't -> (Ordering::Greater, 0)
521
522
/// - `rhs` exists in memory but `lhs` doesn't -> (Ordering::Less, 0)
522
523
/// - None of `lhs` or `rhs` exist in memory -> (Ordering::Equal, 0)
523
- /// Everything else behaves much like `memcmp` in C.
524
- /// This is meant as an optimization for hints to avoid allocations.
524
+ ///
525
+ /// Everything else behaves much like `memcmp` in C.
526
+ /// This is meant as an optimization for hints to avoid allocations.
525
527
pub ( crate ) fn memcmp (
526
528
& self ,
527
529
lhs : Relocatable ,
0 commit comments