Skip to content

Commit 3acbea0

Browse files
committed
Remove unused method
1 parent 4e90d89 commit 3acbea0

File tree

1 file changed

+0
-17
lines changed

1 file changed

+0
-17
lines changed

crates/vm/src/expr.rs

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -562,13 +562,6 @@ pub enum Query {
562562
}
563563

564564
impl Query {
565-
pub fn sources_for_opt(&self) -> QuerySources {
566-
match self {
567-
Self::Select(..) | Self::Project(..) | Self::IndexScan(_) | Self::IndexJoin(_) => QuerySources::None,
568-
Self::JoinInner(join) => QuerySources::Expr(join.rhs.sources_for_opt()),
569-
}
570-
}
571-
572565
/// Iterate over all [`SourceExpr`]s involved in the [`Query`].
573566
///
574567
/// Sources are yielded from left to right. Duplicates are not filtered out.
@@ -713,16 +706,6 @@ impl QueryExpr {
713706
}
714707
}
715708

716-
/// Iterate over all [`SourceExpr`]s involved in the [`QueryExpr`].
717-
///
718-
/// Sources are yielded from left to right. Duplicates are not filtered out.
719-
pub fn sources_for_opt(&self) -> QueryExprSources {
720-
QueryExprSources {
721-
head: Some(self.source.clone()),
722-
tail: self.query.iter().map(Query::sources_for_opt).collect(),
723-
}
724-
}
725-
726709
/// Iterate over all [`SourceExpr`]s involved in the [`QueryExpr`].
727710
///
728711
/// Sources are yielded from left to right. Duplicates are not filtered out.

0 commit comments

Comments
 (0)