Skip to content

Commit

Permalink
Fixed clippy warning.
Browse files Browse the repository at this point in the history
  • Loading branch information
Frostie314159 committed Jan 18, 2025
1 parent 800f5e4 commit a806d0d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "ieee80211"
version = "0.5.1"
version = "0.5.2"
edition = "2021"
license = "MIT OR Apache-2.0"
readme = "README.md"
Expand Down
2 changes: 1 addition & 1 deletion src/elements/vht.rs
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ impl VHTMCSMap {
pub fn vht_mcs_support_for_nss(&self, nss: usize) -> Option<VHTMCSSupport> {
if (1..9).contains(&nss) {
Some(VHTMCSSupport::from_bits(
(self.0 >> ((nss - 1) * 2) & 0b0000_0011) as u8,
((self.0 >> ((nss - 1) * 2)) & 0b0000_0011) as u8,
))
} else {
None
Expand Down

0 comments on commit a806d0d

Please sign in to comment.