Fix Rust compiler error

Latest Rust releases throws "cannot assign twice to immutable variable" when compiling main.rs. This commit fixes this error.
This commit is contained in:
Jannes
2025-11-05 12:30:43 +02:00
committed by GitHub
parent ff84f45a6e
commit 59b661846f

View File

@@ -94,7 +94,7 @@ fn main() -> Result<()> {
let mut os = match args.connector {
Some(conn) => {
let inventory = Inventory::scan();
let mut inventory = Inventory::scan();
inventory
.builder()