Skip to content

Commit 71f66e2

Browse files
authored
Fix debug assertion for env/abi mismatch
Fix typos
1 parent 97281b6 commit 71f66e2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/target/parser.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ impl TargetInfoParserInner {
7878
// TODO: Remove once MSRV is bumped to 1.91 and `rustc` removes these from `target_abi`.
7979
if matches!(&*abi, "macabi" | "sim") {
8080
debug_assert!(
81-
matches!(&*env, "" | "macbi" | "sim"),
81+
matches!(&*env, "" | "macabi" | "sim"),
8282
"env/abi mismatch: {:?}, {:?}",
8383
env,
8484
abi,

0 commit comments

Comments
 (0)