mirror of
https://github.com/a2x/cs2-dumper.git
synced 2025-11-08 20:40:02 +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 {
|
let mut os = match args.connector {
|
||||||
Some(conn) => {
|
Some(conn) => {
|
||||||
let inventory = Inventory::scan();
|
let mut inventory = Inventory::scan();
|
||||||
|
|
||||||
inventory
|
inventory
|
||||||
.builder()
|
.builder()
|
||||||
|
|||||||
Reference in New Issue
Block a user