Skip to content

Commit 7ce415e

Browse files
committed
refactor
* Provide a clearer name to the request connection.
1 parent 35d64b8 commit 7ce415e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

gix-transport/src/client/blocking_io/connect.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ pub(crate) mod function {
44
#[cfg(feature = "http-client-curl")]
55
use crate::client::blocking_io::http::curl::Curl;
66
#[cfg(feature = "http-client-reqwest")]
7-
use crate::client::blocking_io::http::reqwest::Remote;
7+
use crate::client::blocking_io::http::reqwest::Remote as Reqwest;
88
use crate::client::{blocking_io::Transport, non_io_types::connect::Error};
99

1010
/// A general purpose connector connecting to a repository identified by the given `url`.
@@ -67,7 +67,7 @@ pub(crate) mod function {
6767
),
6868
#[cfg(all(feature = "http-client-reqwest", not(feature = "http-client-curl")))]
6969
gix_url::Scheme::Https | gix_url::Scheme::Http => Box::new(crate::client::blocking_io::http::connect::<
70-
Remote,
70+
Reqwest,
7171
>(
7272
url, options.version, options.trace
7373
)),

0 commit comments

Comments
 (0)