Skip to content

Commit 59948c6

Browse files
committed
tidy typo
1 parent 580074a commit 59948c6

File tree

1 file changed

+1
-1
lines changed
  • compiler/rustc_const_eval/src/const_eval

1 file changed

+1
-1
lines changed

compiler/rustc_const_eval/src/const_eval/machine.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -399,7 +399,7 @@ impl<'tcx> CompileTimeInterpCx<'tcx> {
399399
}
400400
} else {
401401
// 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.
402+
// immutable statics can overlap with other kinds of allocations sometimes.
403403
// FIXME: We could be more decisive for (non-zero-sized) mutable statics,
404404
// which cannot overlap with other kinds of allocations.
405405
// `GlobalAlloc::{Memory, Function, Vtable}` can at least be deduplicated with

0 commit comments

Comments
 (0)