Skip to content

Commit

Permalink
Typo
Browse files Browse the repository at this point in the history
  • Loading branch information
oli-obk committed Oct 24, 2018
1 parent 2d960a5 commit c2463af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/librustc_mir/interpret/memory.rs
Original file line number Diff line number Diff line change
Expand Up @@ -733,7 +733,7 @@ where
// Not yet interned, so proceed recursively
self.intern_static(alloc, mutability)?;
} else if self.dead_alloc_map.contains_key(&alloc) {
// danging pointer
// dangling pointer
return err!(ValidationFailure(
"encountered dangling pointer in final constant".into(),
))
Expand Down

0 comments on commit c2463af

Please sign in to comment.