mirror of
https://github.com/isar/rusqlite.git
synced 2025-10-30 21:38:57 +08:00
clippy::doc_markdown
This commit is contained in:
@@ -16,17 +16,17 @@ pub enum ErrorCode {
|
||||
DatabaseBusy,
|
||||
/// A table in the database is locked
|
||||
DatabaseLocked,
|
||||
/// A malloc() failed
|
||||
/// A `malloc()` failed
|
||||
OutOfMemory,
|
||||
/// Attempt to write a readonly database
|
||||
ReadOnly,
|
||||
/// Operation terminated by sqlite3_interrupt()
|
||||
/// Operation terminated by `sqlite3_interrupt()`
|
||||
OperationInterrupted,
|
||||
/// Some kind of disk I/O error occurred
|
||||
SystemIoFailure,
|
||||
/// The database disk image is malformed
|
||||
DatabaseCorrupt,
|
||||
/// Unknown opcode in sqlite3_file_control()
|
||||
/// Unknown opcode in `sqlite3_file_control()`
|
||||
NotFound,
|
||||
/// Insertion failed because database is full
|
||||
DiskFull,
|
||||
@@ -48,7 +48,7 @@ pub enum ErrorCode {
|
||||
NoLargeFileSupport,
|
||||
/// Authorization denied
|
||||
AuthorizationForStatementDenied,
|
||||
/// 2nd parameter to sqlite3_bind out of range
|
||||
/// 2nd parameter to `sqlite3_bind` out of range
|
||||
ParameterOutOfRange,
|
||||
/// File opened that is not a database file
|
||||
NotADatabase,
|
||||
@@ -281,7 +281,7 @@ pub fn code_to_str(code: c_int) -> &'static str {
|
||||
pub enum InitError {
|
||||
/// Version mismatch between the extension and the SQLite3 library
|
||||
VersionMismatch { compile_time: i32, runtime: i32 },
|
||||
/// Invalid function pointer in one of sqlite3_api_routines fields
|
||||
/// Invalid function pointer in one of `sqlite3_api_routines` fields
|
||||
NullFunctionPointer,
|
||||
}
|
||||
#[cfg(feature = "loadable_extension")]
|
||||
|
||||
Reference in New Issue
Block a user