Skip to content

Commit 85e1466

Browse files
RalfJungbjorn3
andcommitted
Fix typo
Co-Authored-By: bjorn3 <[email protected]>
1 parent 4971d03 commit 85e1466

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/librustc/mir/interpret/error.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -617,8 +617,8 @@ impl fmt::Debug for InterpError<'_> {
617617
}
618618

619619
impl InterpError<'_> {
620-
/// Some errors allocate to be created as they contain free-from strings.
621-
/// And sometiems we want to be sure that did not happen as it is a
620+
/// Some errors allocate to be created as they contain free-form strings.
621+
/// And sometimes we want to be sure that did not happen as it is a
622622
/// waste of resources.
623623
pub fn allocates(&self) -> bool {
624624
match self {

0 commit comments

Comments
 (0)