Skip to content

Commit

Permalink
clippy+fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
grooviegermanikus committed Dec 10, 2024
1 parent 8d552fc commit fd49a74
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion bench/src/benchnew.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ use clap::{Parser, Subcommand};

#[derive(Parser, Debug)]
#[clap(version, about)]

struct Arguments {
#[clap(subcommand)]
subcommand: SubCommand,
Expand Down
2 changes: 1 addition & 1 deletion lite-rpc/src/cli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,7 @@ impl Debug for GrpcSource {
fn url_obfuscate_api_token(url: &str) -> Cow<str> {
if let Ok(mut parsed) = Url::parse(url) {
if parsed.path() == "/" {
return Cow::Borrowed(url);
Cow::Borrowed(url)
} else {
parsed.set_path("omitted-secret");
Cow::Owned(parsed.to_string())
Expand Down
2 changes: 1 addition & 1 deletion prioritization_fees/src/stats_calculation.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ use crate::{prioritization_fee_data::PrioFeesData, rpc_data::FeePoint};
use itertools::Itertools;
use std::iter::zip;

/// `quantile` function is the same as the median if q=50, the same as the minimum if q=0 and the same as the maximum if q=100.
// `quantile` function is the same as the median if q=50, the same as the minimum if q=0 and the same as the maximum if q=100.

pub fn calculate_supp_percentiles(
// Vec(prioritization_fees, cu_consumed)
Expand Down

0 comments on commit fd49a74

Please sign in to comment.