Skip to content

Commit

Permalink
Address clippy changes
Browse files Browse the repository at this point in the history
  • Loading branch information
pixincreate committed Oct 18, 2023
1 parent f1007dc commit 35232c1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/test_utils/src/newman_runner.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ struct Args {
/// Minimum delay to be added before sending a request
/// By default, 7 milliseconds will be the delay
#[arg(short, long = "delay_request", default_value_t = 7)]
delay_request: u8,
delay_request: u32,
/// Folder name of specific tests
#[arg(short, long = "folder")]
folders: Option<String>,
Expand All @@ -53,7 +53,7 @@ fn insert_content(dir: &String, content_to_insert: &str) -> io::Result<bool> {
let mut file = OpenOptions::new()
.write(true)
.create(true)
.open(&file_path)?;
.open(file_path)?;

// Write the content to the file
file.write_all(content_to_insert.as_bytes())?;
Expand Down

0 comments on commit 35232c1

Please sign in to comment.