Skip to content

Commit

Permalink
Fixed typo
Browse files Browse the repository at this point in the history
  • Loading branch information
jorgecardleitao committed Feb 28, 2024
1 parent 33f40be commit 454a89a
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/bin/etl_legs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ static DATABASE: &'static str = "leg/v1/data/";

#[derive(serde::Serialize, serde::Deserialize)]
struct LegOut {
icao_number: String,
tail_number: String,
model: String,
#[serde(with = "time::serde::rfc3339")]
Expand Down Expand Up @@ -73,7 +72,6 @@ fn transform<'a>(
legs.into_iter().map(|leg| {
let aircraft = private_jets.get(icao_number).expect(icao_number);
LegOut {
icao_number: icao_number.to_string(),
tail_number: aircraft.tail_number.to_string(),
model: aircraft.model.to_string(),
start: leg.from().datetime(),
Expand Down

0 comments on commit 454a89a

Please sign in to comment.