Skip to content

Commit 3d2a646

Browse files
committed
clippy
1 parent 2aee474 commit 3d2a646

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

src/ast/value.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,6 @@ impl From<ValueWithSpan> for Value {
116116
derive(Visit, VisitMut),
117117
visit(with = "visit_value")
118118
)]
119-
120119
pub enum Value {
121120
/// Numeric literal
122121
#[cfg(not(feature = "bigdecimal"))]

src/parser/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9079,10 +9079,10 @@ impl<'a> Parser<'a> {
90799079
}),
90809080
}))
90819081
} else {
9082-
return self.expected_ref(
9082+
self.expected_ref(
90839083
"{RENAME TO | { RENAME | ADD } VALUE}",
90849084
self.peek_token_ref(),
9085-
);
9085+
)
90869086
}
90879087
}
90889088

0 commit comments

Comments
 (0)