update README banner and fix rust 1.72 clippy lints

This commit is contained in:
Giuliano Bellini s294739 2023-08-27 14:25:53 +02:00
parent bbf6db8c11
commit 072512ed6d
9 changed files with 3 additions and 3 deletions

View file

@ -159,7 +159,7 @@ pkgin install sniffnet
</details>
<details>
<summary>on Tiny Core Linux x86_64 port (a.k.a. Core Pure 64)</summary>
<summary>on Tiny Core Linux</summary>
You can install Sniffnet from the official repository with:

Binary file not shown.

Before

Width:  |  Height:  |  Size: 181 KiB

After

Width:  |  Height:  |  Size: 684 KiB

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 59 KiB

After

Width:  |  Height:  |  Size: 59 KiB

Before After
Before After

Binary file not shown.

After

Width:  |  Height:  |  Size: 181 KiB

View file

Before

Width:  |  Height:  |  Size: 155 B

After

Width:  |  Height:  |  Size: 155 B

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 191 KiB

After

Width:  |  Height:  |  Size: 1 MiB

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 51 KiB

After

Width:  |  Height:  |  Size: 51 KiB

Before After
Before After

Binary file not shown.

After

Width:  |  Height:  |  Size: 191 KiB

View file

@ -60,7 +60,7 @@ pub fn update_charts_data(runtime_data: &mut RunTimeData, traffic_chart: &mut Tr
/// Finds the minimum y value to be displayed in chart
fn get_min(deque: &VecDeque<(u32, i64)>) -> i64 {
let mut min = 0;
for (_, x) in deque.iter() {
for (_, x) in deque {
if *x < min {
min = *x;
}
@ -71,7 +71,7 @@ fn get_min(deque: &VecDeque<(u32, i64)>) -> i64 {
/// Finds the maximum y value to be displayed in chart
fn get_max(deque: &VecDeque<(u32, i64)>) -> i64 {
let mut max = 0;
for (_, x) in deque.iter() {
for (_, x) in deque {
if *x > max {
max = *x;
}