We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eb28e8b commit 957e589Copy full SHA for 957e589
src/lib.rs
@@ -527,9 +527,11 @@ impl Statement {
527
raw: bool,
528
pluck: bool,
529
) -> Self {
530
- let column_names: Vec<std::ffi::CString> = stmt.columns().iter().map(|c| {
531
- std::ffi::CString::new(c.name().to_string()).unwrap()
532
- }).collect();
+ let column_names: Vec<std::ffi::CString> = stmt
+ .columns()
+ .iter()
533
+ .map(|c| std::ffi::CString::new(c.name().to_string()).unwrap())
534
+ .collect();
535
Self {
536
stmt: Arc::new(tokio::sync::Mutex::new(stmt)),
537
conn,
0 commit comments