Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions chrono-tz-build/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ impl FromStr for Tz {{
fn timespans(&self) -> FixedTimespanSet {{"
)?;
for zone in &zones {
if table.links.get(zone.as_str()).is_some() {
if table.links.contains_key(zone.as_str()) {
continue;
}
let zone_name = convert_bad_chars(zone);
Expand Down Expand Up @@ -315,7 +315,7 @@ fn write_directory_file(directory_file: &mut File, table: &Table, version: &str)

match first {
true => first = false,
false => writeln!(directory_file, "")?,
false => writeln!(directory_file)?,
}

let module_name = convert_bad_chars(entry.name);
Expand Down
Loading