Skip to content

Commit

Permalink
feat: fix compile
Browse files Browse the repository at this point in the history
  • Loading branch information
JakkuSakura committed May 22, 2024
1 parent 6b64b19 commit 1f65fd7
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 3 deletions.
13 changes: 13 additions & 0 deletions src/column.rs
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,19 @@ impl Column {
}
};
}
pub fn clear(&mut self) {
match self {
Column::Int(x) => {
x.clear();
}
Column::String(x) => {
x.clear();
}
Column::Float(x) => {
x.clear();
}
};
}
}

struct ColumnIterator<'a> {
Expand Down
4 changes: 2 additions & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
mod column;
mod field;
mod row;
mod table;
mod ty;
mod value;
mod worktable;
pub use column::*;
pub use field::*;
pub use row::*;
pub use table::*;
pub use value::*;
pub use worktable::*;
2 changes: 1 addition & 1 deletion src/row.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ use std::mem::transmute;
use std::ops::Deref;

use crate::column::ColumnId;
use crate::table::WorkTable;
use crate::value::{Value, ValueRef, ValueRefMut};
use crate::worktable::WorkTable;
use crate::WorkTableField;

#[derive(Clone)]
Expand Down
File renamed without changes.

0 comments on commit 1f65fd7

Please sign in to comment.