Skip to content

Commit 840c708

Browse files
committed
Make Auth::get_user_pass() public
1 parent 27d3543 commit 840c708

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

client/src/client.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ pub enum Auth {
196196

197197
impl Auth {
198198
/// Convert into the arguments that jsonrpc::Client needs.
199-
fn get_user_pass(self) -> Result<(Option<String>, Option<String>)> {
199+
pub fn get_user_pass(self) -> Result<(Option<String>, Option<String>)> {
200200
use std::io::Read;
201201
match self {
202202
Auth::None => Ok((None, None)),

0 commit comments

Comments
 (0)