Skip to content

Commit 2b67ba8

Browse files
authored
[minor] Upgrade rust version (#19363)
## Which issue does this PR close? <!-- We generally require a GitHub issue to be filed for all bug fixes and enhancements and this helps us generate change logs for our releases. You can link an issue to this PR using the GitHub syntax. For example `Closes #123` indicates that this PR will close issue #123. --> - Closes #. ## Rationale for this change Just keep it up to date <!-- Why are you proposing this change? If this is already explained clearly in the issue then this section is not needed. Explaining clearly why changes are proposed helps reviewers understand your changes and offer better suggestions for fixes. --> ## What changes are included in this PR? <!-- There is no need to duplicate the description in the issue here but it is sometimes worth providing a summary of the individual changes in this PR. --> ## Are these changes tested? <!-- We typically require tests for all PRs in order to: 1. Prevent the code from being accidentally broken by subsequent changes 2. Serve as another way to document the expected behavior of the code If tests are not included in your PR, please explain why (for example, are they covered by existing tests)? --> ## Are there any user-facing changes? <!-- If there are user-facing changes then we may require documentation to be updated before approving the PR. --> <!-- If there are any breaking changes to public APIs, please add the `api change` label. -->
1 parent b806117 commit 2b67ba8

3 files changed

Lines changed: 2 additions & 3 deletions

File tree

datafusion/functions-nested/src/range.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -573,7 +573,7 @@ fn gen_range_iter(
573573
}
574574

575575
fn parse_tz(tz: &Option<&str>) -> Result<Tz> {
576-
let tz = tz.as_ref().map_or_else(|| "+00", |s| s);
576+
let tz = tz.unwrap_or_else(|| "+00");
577577

578578
Tz::from_str(tz)
579579
.map_err(|op| exec_datafusion_err!("failed to parse timezone {tz}: {:?}", op))

datafusion/sql/src/expr/value.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,6 @@ impl<S: ContextProvider> SqlToRel<'_, S> {
186186

187187
/// Convert a SQL interval expression to a DataFusion logical plan
188188
/// expression
189-
#[expect(clippy::only_used_in_recursion)]
190189
pub(super) fn sql_interval_to_expr(
191190
&self,
192191
negative: bool,

rust-toolchain.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,5 @@
1919
# to compile this workspace and run CI jobs.
2020

2121
[toolchain]
22-
channel = "1.91.0"
22+
channel = "1.92.0"
2323
components = ["rustfmt", "clippy"]

0 commit comments

Comments
 (0)