mirror of
https://github.com/launchbadge/sqlx
synced 2024-11-10 14:34:19 +00:00
fix import of from_utf8_unchecked()
This commit is contained in:
parent
4b51c16cce
commit
73a9155b46
1 changed files with 2 additions and 4 deletions
|
@ -1,11 +1,11 @@
|
|||
#![allow(unsafe_code)]
|
||||
|
||||
use core::ptr::{null, null_mut, NonNull};
|
||||
|
||||
use std::collections::HashMap;
|
||||
use std::ffi::CStr;
|
||||
use std::os::raw::c_int;
|
||||
use std::ptr;
|
||||
use std::str::from_utf8_unchecked;
|
||||
|
||||
use libsqlite3_sys::{
|
||||
sqlite3_bind_parameter_count, sqlite3_clear_bindings, sqlite3_column_count,
|
||||
|
@ -15,13 +15,11 @@ use libsqlite3_sys::{
|
|||
SQLITE_DONE, SQLITE_OK, SQLITE_PREPARE_NO_VTAB, SQLITE_PREPARE_PERSISTENT, SQLITE_ROW,
|
||||
};
|
||||
|
||||
use crate::error::DatabaseError;
|
||||
use crate::sqlite::connection::SqliteConnectionHandle;
|
||||
use crate::sqlite::worker::Worker;
|
||||
|
||||
use crate::error::DatabaseError;
|
||||
use crate::sqlite::SqliteError;
|
||||
use crate::sqlite::{SqliteArguments, SqliteConnection};
|
||||
use bitflags::_core::str::from_utf8_unchecked;
|
||||
|
||||
/// Return values from [SqliteStatement::step].
|
||||
pub(super) enum Step {
|
||||
|
|
Loading…
Reference in a new issue