Skip to content

Commit

Permalink
Merge pull request #723 from CanalTP/clippy-1.48.0
Browse files Browse the repository at this point in the history
[fix] Clippy warning with Rust 1.48.0
  • Loading branch information
Jean SIMARD authored Nov 19, 2020
2 parents 80b3708 + a2798d8 commit e75667d
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/gtfs/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,7 @@ impl<'a> From<&'a objects::Network> for Agency {
.url
.clone()
.unwrap_or_else(|| "http://www.navitia.io/".to_string()),
timezone: obj
.timezone
.clone()
.unwrap_or_else(|| chrono_tz::Europe::Paris),
timezone: obj.timezone.clone().unwrap_or(chrono_tz::Europe::Paris),
lang: obj.lang.clone(),
phone: obj.phone.clone(),
email: None,
Expand Down

0 comments on commit e75667d

Please sign in to comment.