From 5febfdc4d646fd9924873cd9e13c618981490663 Mon Sep 17 00:00:00 2001 From: Ms2ger Date: Tue, 22 Nov 2016 00:29:19 +0100 Subject: [PATCH] Remove unused UIProvider trait definition. --- components/net/http_loader.rs | 4 ---- 1 file changed, 4 deletions(-) diff --git a/components/net/http_loader.rs b/components/net/http_loader.rs index 1d10f684a90..b7bc1fa5302 100644 --- a/components/net/http_loader.rs +++ b/components/net/http_loader.rs @@ -607,10 +607,6 @@ pub fn obtain_response(request_factory: &HttpRequestFactory, Ok((response, msg)) } -pub trait UIProvider { - fn input_username_and_password(&self, prompt: &str) -> (Option, Option); -} - // FIXME: This incredibly hacky. Make it more robust, and at least test it. fn is_cert_verify_error(error: &OpensslError) -> bool { match error {