Typo in description of mem.ptr_sub.

This commit is contained in:
Daniel Troszczyński
2025-10-30 21:04:28 +01:00
committed by GitHub
parent 338733d9ef
commit 5df053f765

View File

@@ -332,7 +332,7 @@ and returns an integer count of the `T` between them.
- `b`: A pointer to a type T
**Returns**
- `b` - `a` in items of T as an `int`.
- `a` - `b` in items of T as an `int`.
Example:
@@ -704,4 +704,4 @@ calc_padding_with_header :: proc "contextless" (ptr: uintptr, align: uintptr, he
}
}
return int(padding)
}
}