Skip to content

Commit

Permalink
Fix clippy warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
diegoreis42 committed Jan 29, 2025
1 parent 7aa4e56 commit bbe2896
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 9 deletions.
1 change: 1 addition & 0 deletions core/ephemeral.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ pub struct EphemeralCursor {
null_flag: bool,
}

#[allow(dead_code)]
impl EphemeralCursor {
pub fn new() -> Self {
let table = Rc::new(RefCell::new(EphemeralTable::new()));
Expand Down
1 change: 1 addition & 0 deletions core/schema.rs
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ impl Schema {
pub enum Table {
BTree(Rc<BTreeTable>),
Pseudo(Rc<PseudoTable>),
#[allow(dead_code)]
EphemeralTable(Rc<EphemeralTable>),
}

Expand Down
9 changes: 0 additions & 9 deletions core/vdbe/explain.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1141,15 +1141,6 @@ pub fn insn_to_str(
0,
format!("r[{}]=(r[{}] || r[{}])", dest, lhs, rhs),
),
Insn::And { lhs, rhs, dest } => (
"Or",
*rhs as i32,
*lhs as i32,
*dest as i32,
OwnedValue::build_text(Rc::new("".to_string())),
0,
format!("r[{}]=(r[{}] && r[{}])", dest, lhs, rhs),
),
Insn::OpenEphemeral {
cursor_id,
content_reg,
Expand Down

0 comments on commit bbe2896

Please sign in to comment.