mirror of
https://github.com/a2x/cs2-dumper.git
synced 2025-11-08 14:10:04 +08:00
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:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user