Skip to content

Commit

Permalink
reformat
Browse files Browse the repository at this point in the history
  • Loading branch information
prekucki committed Nov 17, 2022
1 parent 2091eb5 commit 087adfa
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
3 changes: 0 additions & 3 deletions crates/ya-http-proxy-client/examples/ya-proxy-cli.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
use std::net;
use std::net::{IpAddr, Ipv4Addr};

use anyhow::Result;

use clap::{Parser, Subcommand};
Expand Down
2 changes: 1 addition & 1 deletion crates/ya-http-proxy-model/src/addr.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ impl Addresses {
/// ```
/// use std::net::SocketAddr;
/// use ya_http_proxy_model::Addresses;
/// let addrs = Addresses::new(["127.0.0.1".parse().unwrap()]);
/// let addrs = Addresses::new(["127.0.0.1:8080".parse().unwrap()]);
/// ```
///
pub fn new<I: IntoIterator<Item = SocketAddr>>(addrs: I) -> Self {
Expand Down

0 comments on commit 087adfa

Please sign in to comment.