Fix comments error for CtfeProvenance
This commit is contained in:
parent
2cb4e7dce8
commit
713e0dddfd
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue