Skip to content

Commit

Permalink
update README banner and fix rust 1.72 clippy lints
Browse files Browse the repository at this point in the history
  • Loading branch information
GyulyVGC committed Aug 27, 2023
1 parent bbf6db8 commit 072512e
Show file tree
Hide file tree
Showing 9 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:

Expand Down
Binary file modified resources/repository/header_repository.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added resources/repository/header_repository_1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
Binary file modified resources/repository/logo_repository.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
Binary file added resources/repository/logo_repository_1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions src/chart/manage_chart_data.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand All @@ -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;
}
Expand Down

0 comments on commit 072512e

Please sign in to comment.