Skip to content

Commit c2463af

Browse files
authored
Typo
1 parent 2d960a5 commit c2463af

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustc_mir/interpret/memory.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -733,7 +733,7 @@ where
733733
// Not yet interned, so proceed recursively
734734
self.intern_static(alloc, mutability)?;
735735
} else if self.dead_alloc_map.contains_key(&alloc) {
736-
// danging pointer
736+
// dangling pointer
737737
return err!(ValidationFailure(
738738
"encountered dangling pointer in final constant".into(),
739739
))

0 commit comments

Comments
 (0)