]> Repositorios git - scryer-prolog.git/commitdiff
fix unecessary parens in macro
authorSkgland <[email protected]>
Thu, 20 Nov 2025 20:24:47 +0000 (21:24 +0100)
committerBennet Bleßmann <[email protected]>
Thu, 20 Nov 2025 20:24:47 +0000 (21:24 +0100)
src/macros.rs

index 92e2179ea5c5b831115948f03122e3d4105d4a36..cf5b189140adbae20c748d48a1a51d34d2c97895 100644 (file)
@@ -484,6 +484,6 @@ macro_rules! heap_index {
 
 macro_rules! cell_index {
     ($idx:expr) => {
-        (($idx) / std::mem::size_of::<HeapCellValue>())
+        ($idx) / std::mem::size_of::<HeapCellValue>()
     };
 }