runtime-rs: Allow dead code

Clippy errors with:
```
error: field `driver` is never read
  --> crates/resource/src/network/utils/link/driver_info.rs:77:9
   |
76 | pub struct DriverInfo {
   |            ---------- field in this struct
77 |     pub driver: String,
   |         ^^^^^^
```
We set this, but never read it, so clippy is correct,
but I'm not sure if it's useful for logging, or other purposes,
so I'll allow it for now.

Signed-off-by: stevenhorsman <steven@uk.ibm.com>
This commit is contained in:
stevenhorsman 2025-01-30 16:37:00 +00:00
parent d75a0ccbd1
commit 71fffb8736

View File

@ -74,6 +74,7 @@ struct Driver {
#[derive(Debug, Clone)]
pub struct DriverInfo {
#[allow(dead_code)]
pub driver: String,
pub bus_info: String,
}