Fix source formatting with cargo fmt

This commit is contained in:
Pekka Enberg
2024-09-22 08:52:32 -04:00
parent 6985a716f3
commit 5aeb18f474
2 changed files with 6 additions and 5 deletions

View File

@@ -2283,10 +2283,11 @@ fn execute_sqlite_version(version_integer: i64) -> String {
mod tests {
use super::{
exec_abs, exec_char, exec_hex, exec_if, exec_length, exec_like, exec_lower, exec_ltrim, exec_minmax,
exec_nullif, exec_quote, exec_random, exec_round, exec_rtrim, exec_sign, exec_substring,
exec_trim, exec_typeof, exec_unicode, exec_upper, execute_sqlite_version, get_new_rowid,
AggContext, Cursor, CursorResult, LimboError, OwnedRecord, OwnedValue, Result,
exec_abs, exec_char, exec_hex, exec_if, exec_length, exec_like, exec_lower, exec_ltrim,
exec_minmax, exec_nullif, exec_quote, exec_random, exec_round, exec_rtrim, exec_sign,
exec_substring, exec_trim, exec_typeof, exec_unicode, exec_upper, execute_sqlite_version,
get_new_rowid, AggContext, Cursor, CursorResult, LimboError, OwnedRecord, OwnedValue,
Result,
};
use mockall::{mock, predicate};
use rand::{rngs::mock::StepRng, thread_rng};

View File

@@ -884,7 +884,7 @@ fn sqlite3_errstr_impl(rc: i32) -> *const std::ffi::c_char {
"datatype mismatch", // SQLITE_MISMATCH
"bad parameter or other API misuse", // SQLITE_MISUSE
#[cfg(feature = "lfs")]
"", // SQLITE_NOLFS
"", // SQLITE_NOLFS
#[cfg(not(feature = "lfs"))]
"large file support is disabled", // SQLITE_NOLFS
"authorization denied", // SQLITE_AUTH