fix: correct default for get_host_ip_address
in case of unix
or npipe
#886
GitHub Actions / clippy
succeeded
Apr 29, 2024 in 0s.
View latest attempt.
clippy
2 warnings
Details
Results
Message level | Amount |
---|---|
Internal compiler error | 0 |
Error | 0 |
Warning | 2 |
Note | 0 |
Help | 0 |
Versions
- rustc 1.80.0-nightly (1fffb2a35 2024-04-28)
- cargo 1.80.0-nightly (b60a15551 2024-04-26)
- clippy 0.1.79 (1fffb2a 2024-04-28)
Annotations
Check warning on line 36 in testcontainers/src/core/containers/async_container.rs
github-actions / clippy
field `network` is never read
warning: field `network` is never read
--> testcontainers/src/core/containers/async_container.rs:36:5
|
32 | pub struct ContainerAsync<I: Image> {
| -------------- field in this struct
...
36 | network: Option<Arc<Network>>,
| ^^^^^^^
|
= note: `#[warn(dead_code)]` on by default
Check warning on line 161 in testcontainers/src/core/containers/sync_container.rs
github-actions / clippy
variable does not need to be mutable
warning: variable does not need to be mutable
--> testcontainers/src/core/containers/sync_container.rs:161:21
|
161 | if let Some(mut active) = self.inner.take() {
| ----^^^^^^
| |
| help: remove this `mut`
|
= note: `#[warn(unused_mut)]` on by default
Loading