Skip to content

Commit

Permalink
chore: Fix clippy lints for 1.84
Browse files Browse the repository at this point in the history
  • Loading branch information
scsmithr committed Jan 10, 2025
1 parent 7c54ac2 commit 5df0611
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -767,8 +767,8 @@ impl<'a> ExpressionResolver<'a> {
over: ast::WindowSpec<Raw>,
resolve_context: &mut ResolveContext,
) -> Result<ast::WindowSpec<ResolvedMeta>> {
async fn resolve_window_frame_bound<'a>(
resolver: &ExpressionResolver<'a>,
async fn resolve_window_frame_bound(
resolver: &ExpressionResolver<'_>,
bound: ast::WindowFrameBound<Raw>,
resolve_context: &mut ResolveContext,
) -> Result<ast::WindowFrameBound<ResolvedMeta>> {
Expand Down
5 changes: 1 addition & 4 deletions crates/rayexec_parser/src/parser.rs
Original file line number Diff line number Diff line change
Expand Up @@ -304,10 +304,7 @@ impl<'a> Parser<'a> {
/// Parse any of the provided keywords, returning which keyword was parsed.
pub(crate) fn parse_one_of_keywords(&mut self, keywords: &[Keyword]) -> Option<Keyword> {
let idx = self.idx;
let tok = match self.next() {
Some(tok) => tok,
None => return None,
};
let tok = self.next()?;

for &kw in keywords {
match &tok.token {
Expand Down

0 comments on commit 5df0611

Please sign in to comment.