Skip to content

Commit 35232c1

Browse files
committed
Address clippy changes
1 parent f1007dc commit 35232c1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

crates/test_utils/src/newman_runner.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ struct Args {
2727
/// Minimum delay to be added before sending a request
2828
/// By default, 7 milliseconds will be the delay
2929
#[arg(short, long = "delay_request", default_value_t = 7)]
30-
delay_request: u8,
30+
delay_request: u32,
3131
/// Folder name of specific tests
3232
#[arg(short, long = "folder")]
3333
folders: Option<String>,
@@ -53,7 +53,7 @@ fn insert_content(dir: &String, content_to_insert: &str) -> io::Result<bool> {
5353
let mut file = OpenOptions::new()
5454
.write(true)
5555
.create(true)
56-
.open(&file_path)?;
56+
.open(file_path)?;
5757

5858
// Write the content to the file
5959
file.write_all(content_to_insert.as_bytes())?;

0 commit comments

Comments
 (0)