From 5aeb18f474e4a5ca75d6a2e3c0f871b1d87a16ca Mon Sep 17 00:00:00 2001 From: Pekka Enberg Date: Sun, 22 Sep 2024 08:52:32 -0400 Subject: [PATCH] Fix source formatting with `cargo fmt` --- core/vdbe/mod.rs | 9 +++++---- sqlite3/src/lib.rs | 2 +- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/core/vdbe/mod.rs b/core/vdbe/mod.rs index 14d355293..6a41c243f 100644 --- a/core/vdbe/mod.rs +++ b/core/vdbe/mod.rs @@ -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}; diff --git a/sqlite3/src/lib.rs b/sqlite3/src/lib.rs index 9990a3320..e79dc1f09 100644 --- a/sqlite3/src/lib.rs +++ b/sqlite3/src/lib.rs @@ -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