We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 580074a commit 59948c6Copy full SHA for 59948c6
compiler/rustc_const_eval/src/const_eval/machine.rs
@@ -399,7 +399,7 @@ impl<'tcx> CompileTimeInterpCx<'tcx> {
399
}
400
} else {
401
// Even if one of them is a static, as per https://doc.rust-lang.org/nightly/reference/items/static-items.html#r-items.static.storage-disjointness
402
- // immutable statics can overlap with other kinds of allocations somtimes.
+ // immutable statics can overlap with other kinds of allocations sometimes.
403
// FIXME: We could be more decisive for (non-zero-sized) mutable statics,
404
// which cannot overlap with other kinds of allocations.
405
// `GlobalAlloc::{Memory, Function, Vtable}` can at least be deduplicated with
0 commit comments