Skip to content

Commit 4e17fbd

Browse files
committed
Fixed typo
1 parent 1553ea2 commit 4e17fbd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/liballoc/rc.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -1362,7 +1362,7 @@ trait RcBoxPtr<T: ?Sized> {
13621362
// We want to abort on overflow instead of dropping the value.
13631363
// The reference count will never be zero when this is called;
13641364
// nevertheless, we insert an abort here to hint LLVM at
1365-
// an otherwise missied optimization.
1365+
// an otherwise missed optimization.
13661366
if self.strong() == 0 || self.strong() == usize::max_value() {
13671367
unsafe { abort(); }
13681368
}
@@ -1384,7 +1384,7 @@ trait RcBoxPtr<T: ?Sized> {
13841384
// We want to abort on overflow instead of dropping the value.
13851385
// The reference count will never be zero when this is called;
13861386
// nevertheless, we insert an abort here to hint LLVM at
1387-
// an otherwise missied optimization.
1387+
// an otherwise missed optimization.
13881388
if self.weak() == 0 || self.weak() == usize::max_value() {
13891389
unsafe { abort(); }
13901390
}

0 commit comments

Comments
 (0)