Rust 1.79 lints (#5927)

* max_value -> MAX

* remove unnecesary closures

* a couple more max_value -> MAX

* a couple more max_value -> MAX

* Revert "a couple more max_value -> MAX"

This reverts commit 807fe7cae9.

* unused spec field -> phantom data

* ignore some dead code warnings

* update kurtosis repo location
This commit is contained in:
realbigsean
2024-06-13 19:04:30 -04:00
committed by GitHub
parent 5789db042d
commit a74098044a
34 changed files with 92 additions and 95 deletions

View File

@@ -33,6 +33,7 @@ pub struct WatchBlockprint {
}
#[derive(Debug, QueryableByName, diesel::FromSqlRow)]
#[allow(dead_code)]
pub struct WatchValidatorBlockprint {
#[diesel(sql_type = Integer)]
pub proposer_index: i32,

View File

@@ -24,6 +24,7 @@ pub use server::blockprint_routes;
const TIMEOUT: Duration = Duration::from_secs(50);
#[derive(Debug)]
#[allow(dead_code)]
pub enum Error {
Reqwest(reqwest::Error),
Url(url::ParseError),