Fix comments error for CtfeProvenance

This commit is contained in:
yukang 2025-10-07 21:05:45 +08:00
parent 2cb4e7dce8
commit 713e0dddfd

View file

@ -167,7 +167,7 @@ impl CtfeProvenance {
}
impl Provenance for CtfeProvenance {
// With the `AllocId` as provenance, the `offset` is interpreted *relative to the allocation*,
// With the `CtfeProvenance` as provenance, the `offset` is interpreted *relative to the allocation*,
// so ptr-to-int casts are not possible (since we do not know the global physical offset).
const OFFSET_IS_ADDR: bool = false;