Skip to content

Commit

Permalink
Fix some typos
Browse files Browse the repository at this point in the history
Co-authored-by: Piroro-hs <Piroro-hs@users.noreply.github.com>
  • Loading branch information
Sh3Rm4n and Piroro-hs committed Apr 30, 2021
1 parent 9ac9b9d commit f03283b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ fn check_device_feature() {
In this case replace it with `stm32f303xc` to make your code build again.\n\
\n\
For more information, see \
\x1b]8;;https://github.com/stm32-rs/stm32f3xx-hal#selecting-the-right-chip\x1b\\README\
\x1b]8;;https://github.com/stm32-rs/stm32f3xx-hal#selecting-the-right-chip\x1b\\README \
-> Selecting the right chip\x1b]8;;\x1b\\."
);
std::process::exit(1);
Expand All @@ -43,10 +43,10 @@ fn check_device_feature() {
.unwrap()
.features
.iter()
.filter_map(|(feature, dependend_features)| {
dependend_features
.filter_map(|(feature, dependent_features)| {
dependent_features
.iter()
.any(|dependend_feature| dependend_feature == "device-selected")
.any(|dependent_feature| dependent_feature == "device-selected")
.then(|| feature.clone())
})
.collect();
Expand Down

0 comments on commit f03283b

Please sign in to comment.