Skip to content

Commit

Permalink
fix warning
Browse files Browse the repository at this point in the history
  • Loading branch information
wangxiaoying committed Oct 9, 2024
1 parent 2ab039d commit e471ea9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions connectorx-python/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,9 @@ iai = "0.1"
pprof = {version = "0.5", features = ["flamegraph", "criterion", "protobuf"]}
rayon = "1"

[lints.rust]
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(Py_3_12)'] }

[lib]
crate-type = ["cdylib"]
name = "connectorx"
Expand Down
2 changes: 2 additions & 0 deletions connectorx-python/src/pandas/pandas_columns/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,9 @@ lazy_static! {
}

pub trait PandasColumnObject: Send {
#[allow(dead_code)]
fn typecheck(&self, _: TypeId) -> bool;
#[allow(dead_code)]
fn typename(&self) -> &'static str;
fn finalize(&mut self) -> Result<()> {
Ok(())
Expand Down

0 comments on commit e471ea9

Please sign in to comment.