Skip to content

Commit a6cba65

Browse files
committed
Removes unnecessary comment
1 parent ffc6589 commit a6cba65

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/main.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ fn ip6_reverse(ip: &Ipv6Addr) -> String {
2121
let mut rev = String::with_capacity(64);
2222
for oct in ip.octets().iter().rev() {
2323
rev.push_str(format!("{:x}.", oct & 0x0fu8).as_str());
24-
// Rust gets mad about right-shifting set bits, so we need to mask + shift
2524
rev.push_str(format!("{:x}.", (oct & 0xf0u8) >> 4u8).as_str());
2625
}
2726
rev

0 commit comments

Comments
 (0)