Skip to content

Commit c8fd4fd

Browse files
bors[bot]steffahn
andauthored
Merge #9987
9987: Fix two more “a”/“an” typos r=lnicola a=steffahn Follow-up to #9985 you guys are merging these fast 😅 Co-authored-by: Frank Steffahn <[email protected]>
2 parents 0960d4e + 35a7fdd commit c8fd4fd

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

crates/hir_ty/src/diagnostics/decl_check/case_conv.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ pub(crate) fn to_camel_case(ident: &str) -> Option<String> {
4343
})
4444
.fold((String::new(), None), |(acc, prev): (_, Option<String>), next| {
4545
// separate two components with an underscore if their boundary cannot
46-
// be distinguished using a uppercase/lowercase case distinction
46+
// be distinguished using an uppercase/lowercase case distinction
4747
let join = prev
4848
.and_then(|prev| {
4949
let f = next.chars().next()?;

crates/hir_ty/src/diagnostics/match_check/usefulness.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -695,7 +695,7 @@ impl SubPatSet {
695695
for i in 0..*alt_count {
696696
let sub_set = subpats.get(&i).unwrap_or(&SubPatSet::Empty);
697697
if sub_set.is_empty() {
698-
// Found a unreachable subpattern.
698+
// Found an unreachable subpattern.
699699
unreachable_pats.push(expanded[i]);
700700
} else {
701701
fill_subpats(sub_set, unreachable_pats, cx);

0 commit comments

Comments
 (0)