Skip to content

Commit 805d8d7

Browse files
committed
clippy
1 parent ae9479d commit 805d8d7

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

src/ast/query.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1405,7 +1405,6 @@ pub enum TableFactor {
14051405
#[derive(Debug, Clone, PartialEq, PartialOrd, Eq, Ord, Hash)]
14061406
#[cfg_attr(feature = "serde", derive(Serialize, Deserialize))]
14071407
#[cfg_attr(feature = "visitor", derive(Visit, VisitMut))]
1408-
14091408
pub enum TableSampleKind {
14101409
/// Table sample located before the table alias option
14111410
BeforeTableAlias(Box<TableSample>),

src/display_utils.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ impl Display for SpaceOrNewline {
6767
/// When pretty-printed (using {:#}), it displays each value on a new line.
6868
pub struct DisplayCommaSeparated<'a, T: fmt::Display>(&'a [T]);
6969

70-
impl<'a, T: fmt::Display> fmt::Display for DisplayCommaSeparated<'a, T> {
70+
impl<'a, T: fmt::Display> fmt::Display for DisplayCommaSeparated<'_, T> {
7171
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
7272
let mut first = true;
7373
for t in self.0 {

0 commit comments

Comments
 (0)