diff options
author | Matthias Beyer <mail@beyermatthias.de> | 2021-01-13 09:35:58 +0100 |
---|---|---|
committer | Matthias Beyer <mail@beyermatthias.de> | 2021-01-15 23:21:39 +0100 |
commit | a5c2a6b272988e778993554a2c247f9caf3574d7 (patch) | |
tree | ef3347400a0c366dcfe1dcd7eba9df7110b21de5 /src/endpoint/configured.rs | |
parent | 882a817dab7cd7ea2f8771f5ee9a5e99a1972a7c (diff) |
Fix clippy: redundant closure found
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Diffstat (limited to 'src/endpoint/configured.rs')
-rw-r--r-- | src/endpoint/configured.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/endpoint/configured.rs b/src/endpoint/configured.rs index c2ed0cf..92217e6 100644 --- a/src/endpoint/configured.rs +++ b/src/endpoint/configured.rs @@ -87,7 +87,7 @@ impl Endpoint { match ep.endpoint_type() { crate::config::EndpointType::Http => { shiplift::Uri::from_str(ep.uri()) - .map(|uri| shiplift::Docker::host(uri)) + .map(shiplift::Docker::host) .with_context(|| anyhow!("Connecting to {}", ep.uri())) .map_err(Error::from) .map(|docker| { |