Skip to content

Commit

Permalink
rustfmt
Browse files Browse the repository at this point in the history
  • Loading branch information
octol committed Apr 24, 2024
1 parent ce01cb4 commit 594e03a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
1 change: 0 additions & 1 deletion nym-vpnc/src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,3 @@ pub(crate) fn get_socket_path() -> PathBuf {
pub(crate) fn default_endpoint() -> String {
"http://[::1]:53181".to_string()
}

1 change: 0 additions & 1 deletion nym-vpnc/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -89,4 +89,3 @@ async fn import_credential(
fn parse_encoded_credential_data(raw: &str) -> bs58::decode::Result<Vec<u8>> {
bs58::decode(raw).into_vec()
}

4 changes: 3 additions & 1 deletion nym-vpnc/src/vpnd_client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@ pub(crate) enum ClientType {
Ipc,
}

pub(crate) async fn get_client(client_type: ClientType) -> anyhow::Result<NymVpndClient<TonicChannel>> {
pub(crate) async fn get_client(
client_type: ClientType,
) -> anyhow::Result<NymVpndClient<TonicChannel>> {
match client_type {
ClientType::Http => get_http_client().await,
ClientType::Ipc => get_ipc_client().await,
Expand Down

0 comments on commit 594e03a

Please sign in to comment.