Skip to content

Commit 03b3993

Browse files
authoredMar 30, 2022
Rollup merge of #95461 - nyurik:spelling, r=lcnr
Spellchecking some comments This PR attempts to clean up some minor spelling mistakes in comments
2 parents a629b2a + 7e8201a commit 03b3993

File tree

48 files changed

+61
-61
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

48 files changed

+61
-61
lines changed
 

‎compiler/rustc_apfloat/src/ieee.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -461,7 +461,7 @@ impl<S: Semantics> fmt::Display for IeeeFloat<S> {
461461
(combined / 10) as u32 as Limb
462462
});
463463

464-
// Reduce the sigificand to avoid wasting time dividing 0's.
464+
// Reduce the significand to avoid wasting time dividing 0's.
465465
while sig.last() == Some(&0) {
466466
sig.pop();
467467
}

‎compiler/rustc_ast_lowering/src/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -634,7 +634,7 @@ impl<'a, 'hir> LoweringContext<'a, 'hir> {
634634
// This can happen when trying to lower the return type `x` in erroneous code like
635635
// async fn foo(x: u8) -> x {}
636636
// In that case, `x` is lowered as a function parameter, and the return type is lowered as
637-
// an opaque type as a synthetized HIR owner.
637+
// an opaque type as a synthesized HIR owner.
638638
res.unwrap_or(Res::Err)
639639
}
640640

0 commit comments

Comments
 (0)