Skip to content

Commit caf6b12

Browse files
committed
fix(clippy): update tests to satisfy latest clippy lints
1 parent 276978b commit caf6b12

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

rad/src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1935,11 +1935,11 @@ mod tests {
19351935
#[test]
19361936
fn test_witnet_http_client() {
19371937
// Set up proxy addresses in this vector
1938-
let proxies = vec![];
1938+
let proxies = Vec::<Uri>::new();
19391939

19401940
let mut transports = vec![];
19411941
for proxy in proxies {
1942-
match Uri::try_from(proxy) {
1942+
match Uri::try_from(proxy.clone()) {
19431943
Ok(uri) => transports.push(uri),
19441944
Err(_) => {
19451945
log::error!("Could not convert {} to witnet_rad::Uri", proxy);

0 commit comments

Comments
 (0)