Skip to content
This repository has been archived by the owner on Mar 18, 2023. It is now read-only.

Commit

Permalink
⬆️ Chores
Browse files Browse the repository at this point in the history
  • Loading branch information
eigenein committed Feb 18, 2023
1 parent 43affa1 commit 0bc4fd1
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 12 deletions.
24 changes: 12 additions & 12 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions src/tankopedia.rs
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,14 @@ fn insert_missing_vehicles(vehicles: &mut BTreeMap<String, Vehicle>) -> Result {
nation: Nation::Usa,
type_: TankType::Light,
},
Vehicle {
tank_id: 10545,
name: Cow::Borrowed("Wind"),
tier: 6,
is_premium: true,
nation: Nation::China,
type_: TankType::Light,
},
] {
match vehicles.get(&vehicle.tank_id.to_string()) {
Some(_) => bail!("vehicle #{} is already in the tankopedia", vehicle.tank_id),
Expand Down
8 changes: 8 additions & 0 deletions src/tankopedia/generated.rs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 0bc4fd1

Please sign in to comment.