diff --git a/rust-toolchain.toml b/rust-toolchain.toml index 4d6b0593a8..390cb1232a 100644 --- a/rust-toolchain.toml +++ b/rust-toolchain.toml @@ -1,3 +1,3 @@ [toolchain] -channel = "nightly-2024-09-27" +channel = "nightly-2024-10-17" diff --git a/src/pipeline/src/etl/processor/timestamp.rs b/src/pipeline/src/etl/processor/timestamp.rs index 3f9621c19d..18b6711c1d 100644 --- a/src/pipeline/src/etl/processor/timestamp.rs +++ b/src/pipeline/src/etl/processor/timestamp.rs @@ -254,7 +254,7 @@ impl TimestampProcessor { } fn parse_formats(yaml: &yaml_rust::yaml::Yaml) -> Result, 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, Tz)>> s: format!("{yaml:?}"), } .fail(), - }; + } } impl TryFrom<&yaml_rust::yaml::Hash> for TimestampProcessorBuilder {