Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
Signed-off-by: Jiahao XU <[email protected]>
  • Loading branch information
NobodyXu committed Jan 9, 2023
1 parent 659187d commit f13fa7d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/detect-targets/src/detect/windows.rs
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ pub(super) fn detect_alternative_targets(target: &str) -> impl Iterator<Item = S

let arch = prefix
.split_once('-')
.expect("unwrapL target always has at least two -")
.expect("unwrap: target always has at least two -")
.0;

// detect abi in ["gnu", "gnullvm", ...]
Expand Down

0 comments on commit f13fa7d

Please sign in to comment.