Skip to content

Commit

Permalink
clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
y-f-u committed Aug 13, 2024
1 parent 29e1ada commit 06edbcf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion crates/duckdb/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ extensions-full = ["json", "parquet", "vtab-full"]
buildtime_bindgen = ["libduckdb-sys/buildtime_bindgen"]
modern-full = ["chrono", "serde_json", "url", "r2d2", "uuid", "polars"]
polars = ["dep:polars"]
time = []
column_decltype = []
extra_check = []

[dependencies]
libduckdb-sys = { workspace = true }
Expand Down
2 changes: 1 addition & 1 deletion crates/duckdb/src/column.rs
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ impl Statement<'_> {
#[cfg(feature = "column_decltype")]
pub fn columns(&self) -> Vec<Column> {
let n = self.column_count();
let mut cols = Vec::with_capacity(n as usize);
let mut cols = Vec::with_capacity(n);
for i in 0..n {
let name = self.column_name_unwrap(i);
let slice = self.stmt.column_decltype(i);
Expand Down

0 comments on commit 06edbcf

Please sign in to comment.