change toolchain to 2024-10-17

This commit is contained in:
Lei, HUANG
2024-10-18 15:19:57 -07:00
parent 64ca0b435f
commit 7024079822
2 changed files with 3 additions and 3 deletions

View File

@@ -1,3 +1,3 @@
[toolchain]
channel = "nightly-2024-09-27"
channel = "nightly-2024-10-17"

View File

@@ -254,7 +254,7 @@ impl TimestampProcessor {
}
fn parse_formats(yaml: &yaml_rust::yaml::Yaml) -> Result<Vec<(Arc<String>, Tz)>> {
return match yaml.as_vec() {
match yaml.as_vec() {
Some(formats_yaml) => {
let mut formats = Vec::with_capacity(formats_yaml.len());
for v in formats_yaml {
@@ -286,7 +286,7 @@ fn parse_formats(yaml: &yaml_rust::yaml::Yaml) -> Result<Vec<(Arc<String>, Tz)>>
s: format!("{yaml:?}"),
}
.fail(),
};
}
}
impl TryFrom<&yaml_rust::yaml::Hash> for TimestampProcessorBuilder {