Skip to content

Commit ea539b8

Browse files
committed
format code
1 parent fc187c1 commit ea539b8

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

.github/workflows/rust.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Build and Test Rust Project
1+
name: Pipeline
22

33
on:
44
pull_request:

cli/src/external_ip/providers/external_ip_resolver.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,6 @@ pub async fn resolve_ipv6_with_url<T: IntoUrl>(url: T) -> Result<Ipv6Addr, Exter
6161
Ok(ip)
6262
}
6363

64-
6564
pub fn is_ipv6_available() -> bool {
6665
TcpListener::bind("[::1]:0").is_ok()
67-
}
66+
}

cli/src/external_ip/providers/icanhazip.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,8 @@ mod tests {
3434

3535
#[tokio::test]
3636
async fn test_ipv6() {
37-
if is_ipv6_available() { // Only run test if ipv6 is available on this system.
37+
if is_ipv6_available() {
38+
// Only run test if ipv6 is available on this system.
3839
let ip = resolve_ipv6().await;
3940
assert!(ip.is_ok());
4041
}

0 commit comments

Comments
 (0)